0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-20 17:10:11 -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

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.idea
*.map
node_modules
npm-debug.log
docs

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',