Skip to content

Instantly share code, notes, and snippets.

@gauravtiwari
Created February 19, 2017 11:10
Show Gist options
  • Save gauravtiwari/0ab84b572e4a56c2033df00d2ea7b193 to your computer and use it in GitHub Desktop.
Save gauravtiwari/0ab84b572e4a56c2033df00d2ea7b193 to your computer and use it in GitHub Desktop.
Development webpack config
// 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