diff --git a/server.js b/server.js index f088283..ca6f302 100644 --- a/server.js +++ b/server.js @@ -21,14 +21,21 @@ app.use(express.static('static')) // Set up VueXpress let options = { views: './views', - cache: false, - watch: process.env.NODE_ENVIRONMENT == 'dev', + cache: true, + watch: true, metaInfo: { title: 'Seance', }, extractCSS: true, cssOutputPath: '/css/styles.css', publicPath: 'public', + compilerConfig: { + // custom webpack config + }, + compilerConfigCallback: function(webpackConfig) { + // change the merged webpackconfig if you like + return webpackConfig; + }, }