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:
parent
afa467aad6
commit
f1ba9b583b
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
.idea
|
||||
*.map
|
||||
node_modules
|
||||
npm-debug.log
|
||||
docs
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue