0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-26 09:49:20 -05:00

prevent source map in demo builds

This commit is contained in:
liabru 2021-12-15 17:29:18 +00:00
parent afa467aad6
commit f1ba9b583b
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
.idea
*.map
node_modules
npm-debug.log
docs
@ -15,4 +16,4 @@ test/browser/refs
test/node/diffs
test/node/refs
__snapshots__
__compare__
__compare__

View file

@ -29,7 +29,7 @@ License ${pkg.license}`;
return {
entry: { [name]: './demo/src/index.js' },
node: false,
devtool: 'source-map',
devtool: devServer ? 'source-map' : 'none',
output: {
library: 'MatterDemo',
libraryTarget: 'umd',