Skip to content

Commit

Permalink
feat: enable modern mode
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Apr 15, 2019
1 parent 8191713 commit b267c53
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const webpack = require('webpack')

module.exports = {
srcDir: 'client/',
buildDir: 'dist/client/',
rootDir: './',
modern: 'server',
/*
** Router config
*/
Expand Down Expand Up @@ -37,11 +36,6 @@ module.exports = {
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: true }]
]
},
filenames: {
app: ({ isDev }) => isDev ? '[name].js' : 'hare.[chunkhash:12].js',
chunk: ({ isDev }) => isDev ? '[name].js' : 'hare.[chunkhash:12].js',
css: ({ isDev }) => isDev ? '[name].css' : 'hare.[contenthash:12].css'
}
},
/*
Expand Down

0 comments on commit b267c53

Please sign in to comment.