Skip to content

Commit

Permalink
fix: wrong extension for dev mode css file
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Sep 29, 2018
1 parent f08cc76 commit 1bf6385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/nuxt.config.js
Expand Up @@ -55,7 +55,7 @@ export default {
// { isDev, isClient, isServer }
app: ({ 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]',
font: ({ isDev }) => isDev ? '[path][name].[ext]' : 'fonts/[hash:7].[ext]',
video: ({ isDev }) => isDev ? '[path][name].[ext]' : 'videos/[hash:7].[ext]'
Expand Down

0 comments on commit 1bf6385

Please sign in to comment.