Skip to content

Commit

Permalink
Add source maps to webpack bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
NickLathen committed Oct 29, 2016
1 parent 35be073 commit 7e9d5c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
node_modules
bower_components

/client/src/public/bundle.js
**/public
7 changes: 2 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var APP_DIR = path.resolve(__dirname, 'client/src/app');

var config = {
entry: APP_DIR + '/App.jsx',
devtool: 'source-map',
output: {
path: BUILD_DIR,
filename: 'bundle.js'
Expand All @@ -29,11 +30,7 @@ var config = {
presets: ['es2015', 'react', 'stage-0']
},
exclude: /node_modules/,
},
// {
// test: /\.less$/,
// loader: 'style!css!less',
// },
}
],
},
watch: true
Expand Down

0 comments on commit 7e9d5c9

Please sign in to comment.