mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 07:01:06 +00:00
fix: wrong extension for dev mode css file
This commit is contained in:
parent
f08cc76055
commit
1bf6385d48
@ -55,7 +55,7 @@ export default {
|
|||||||
// { isDev, isClient, isServer }
|
// { isDev, isClient, isServer }
|
||||||
app: ({ isDev }) => isDev ? '[name].js' : '[chunkhash].js',
|
app: ({ isDev }) => isDev ? '[name].js' : '[chunkhash].js',
|
||||||
chunk: ({ isDev }) => isDev ? '[name].js' : '[chunkhash].js',
|
chunk: ({ isDev }) => isDev ? '[name].js' : '[chunkhash].js',
|
||||||
css: ({ isDev }) => isDev ? '[name].js' : '[contenthash].css',
|
css: ({ isDev }) => isDev ? '[name].css' : '[contenthash].css',
|
||||||
img: ({ isDev }) => isDev ? '[path][name].[ext]' : 'img/[hash:7].[ext]',
|
img: ({ isDev }) => isDev ? '[path][name].[ext]' : 'img/[hash:7].[ext]',
|
||||||
font: ({ isDev }) => isDev ? '[path][name].[ext]' : 'fonts/[hash:7].[ext]',
|
font: ({ isDev }) => isDev ? '[path][name].[ext]' : 'fonts/[hash:7].[ext]',
|
||||||
video: ({ isDev }) => isDev ? '[path][name].[ext]' : 'videos/[hash:7].[ext]'
|
video: ({ isDev }) => isDev ? '[path][name].[ext]' : 'videos/[hash:7].[ext]'
|
||||||
|
Loading…
Reference in New Issue
Block a user