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:
parent
afa467aad6
commit
f1ba9b583b
2 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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__
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue