Skip to content

Commit

Permalink
add side effect fields to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Aug 2, 2019
1 parent 2f84326 commit 37bc14f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"dist",
"README.md"
],
"sideEffects": false,
"scripts": {
"pre-build": "npm run build-bundle && npm run build-bundle -- --env.dev",
"build-bundle": "webpack --display=minimal --config ../../scripts/bundle.config.js"
Expand Down
1 change: 1 addition & 0 deletions modules/webgl-state-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"dist",
"README.md"
],
"sideEffects": false,
"scripts": {
"pre-build": "npm run build-bundle && npm run build-bundle -- --env.dev",
"build-bundle": "webpack --display=minimal --config ../../scripts/bundle.config.js"
Expand Down
1 change: 1 addition & 0 deletions modules/webgl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"dist",
"README.md"
],
"sideEffects": false,
"browser": {
"gl": false,
"gl/wrap": false
Expand Down
1 change: 0 additions & 1 deletion modules/webgl/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Higher level abstractions can be built on these classes

// Initialize any global state
import './init';
export {lumaStats} from './init';

// TODO - should we reexport these?
Expand Down

0 comments on commit 37bc14f

Please sign in to comment.