Merge pull request #276 from kopelli/sourcemap-fix

[chore] Fixing sourcemaps so they actually point to the correct sources
This commit is contained in:
danielyxie 2018-06-08 10:53:44 -05:00 committed by GitHub
commit 1590b9bff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,11 +19,10 @@ module.exports = {
engine: "./src/engine.js", engine: "./src/engine.js",
tests: "./tests/index.js", tests: "./tests/index.js",
}, },
devtool: "nosources-source-map", devtool: "source-map",
output: { output: {
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname, "dist"),
filename: "[name].bundle.js", filename: "[name].bundle.js"
devtoolModuleFilenameTemplate: "[id]"
}, },
module: { module: {
rules: [ rules: [