Created
February 19, 2017 11:10
-
-
Save gauravtiwari/0ab84b572e4a56c2033df00d2ea7b193 to your computer and use it in GitHub Desktop.
Development webpack config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: You must restart bin/webpack-watcher for changes to take effect | |
var webpack = require('webpack') | |
var merge = require('webpack-merge') | |
var sharedConfig = require('./shared.js') | |
module.exports = merge(sharedConfig.config, { | |
devtool: 'sourcemap', | |
stats: { | |
errorDetails: true | |
}, | |
output: { | |
pathinfo: true | |
}, | |
plugins: [ | |
new webpack.LoaderOptionsPlugin({ | |
debug: true | |
}) | |
] | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment