mirror of
https://github.com/primer/css.git
synced 2025-01-05 21:22:57 +03:00
nix assets/ from asset path
This commit is contained in:
parent
62c707174c
commit
f123bc3528
@ -7,7 +7,7 @@ const INDEX_PATTERN = /\/index(\.[a-z]+)?$/
|
||||
export const config = getConfig().publicRuntimeConfig || {}
|
||||
|
||||
export const assetPrefix = config.assetPrefix || ''
|
||||
export const assetPath = `${assetPrefix}/static/assets/`
|
||||
export const assetPath = `${assetPrefix}/static/`
|
||||
export const getAssetPath = path => `${assetPath}${path}`
|
||||
|
||||
const ext = /\.mdx?$/
|
||||
|
Loading…
Reference in New Issue
Block a user