Generate source-maps from babel and uglifyjs

This commit is contained in:
Jonny Barnes 2017-03-21 16:34:17 +00:00
parent a56017f0ec
commit 3940e77612
21 changed files with 105 additions and 44 deletions

View file

@ -6,12 +6,14 @@ const config = {
//app: './app.js',
links: './links.js',
maps: './maps.js',
newnote: './newnote.js'
newnote: './newnote.js',
piwik: './piwik.js'
},
output: {
path: __dirname + '/public/assets/js',
filename: '[name].js'
},
devtool: 'source-map',
module: {
loaders: [
{