aboutsummaryrefslogtreecommitdiff
path: root/build/webpack.dev.conf.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/webpack.dev.conf.js')
-rw-r--r--build/webpack.dev.conf.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js
index 159572ba..97799f82 100644
--- a/build/webpack.dev.conf.js
+++ b/build/webpack.dev.conf.js
@@ -16,12 +16,14 @@ module.exports = merge(baseWebpackConfig, {
},
mode: 'development',
// eval-source-map is faster for development
- devtool: '#eval-source-map',
+ devtool: 'eval-source-map',
plugins: [
new webpack.DefinePlugin({
'process.env': config.dev.env,
'COMMIT_HASH': JSON.stringify('DEV'),
- 'DEV_OVERRIDES': JSON.stringify(config.dev.settings)
+ 'DEV_OVERRIDES': JSON.stringify(config.dev.settings),
+ '__VUE_OPTIONS_API__': true,
+ '__VUE_PROD_DEVTOOLS__': false
}),
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
new webpack.HotModuleReplacementPlugin(),