Skip to content

Commit 506fc6c

Browse files
committed
Fix issue where dev code was not stripped out.
1 parent ea60ea7 commit 506fc6c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"devDependencies": {
4848
"babel-cli": "^6.24.1",
4949
"babel-eslint": "^7.2.1",
50-
"babel-preset-es2015": "6^.24.1",
50+
"babel-preset-es2015": "^6.24.1",
5151
"babel-preset-react": "^6.24.1",
5252
"babel-preset-stage-0": "^6.24.1",
5353
"babel-register": "^6.14.0",
@@ -63,8 +63,8 @@
6363
"lint-staged": "^3.4.0",
6464
"mocha": "^3.2.0",
6565
"prettier": "^1.2.2",
66-
"react": "^15.5.3",
67-
"react-dom": "^15.5.3",
66+
"react": "^15.5.4",
67+
"react-dom": "^15.5.4",
6868
"rollup": "^0.41.6",
6969
"rollup-plugin-babel": "^2.7.1",
7070
"rollup-plugin-commonjs": "^8.0.2",

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
plugins: [
99
replace({
1010
'process.env.NODE_DEBUG': false,
11-
'process.env.NODE_ENV': 'production'
11+
'process.env.NODE_ENV': '"production"'
1212
}),
1313
resolve({ jsnext: true, main: true }),
1414
commonjs({ include: 'node_modules/**' }),

yarn.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ babel-polyfill@^6.23.0:
754754
core-js "^2.4.0"
755755
regenerator-runtime "^0.10.0"
756756

757-
babel-preset-es2015@6^.24.1:
757+
babel-preset-es2015@^6.24.1:
758758
version "6.24.1"
759759
resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939"
760760
dependencies:
@@ -2721,7 +2721,7 @@ promise@^7.1.1:
27212721
dependencies:
27222722
asap "~2.0.3"
27232723

2724-
prop-types@^15.5.2, prop-types@^15.5.8, prop-types@~15.5.0:
2724+
prop-types@^15.5.7, prop-types@^15.5.8, prop-types@~15.5.7:
27252725
version "15.5.8"
27262726
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.8.tgz#6b7b2e141083be38c8595aa51fc55775c7199394"
27272727
dependencies:
@@ -2755,23 +2755,23 @@ rc@^1.1.7:
27552755
minimist "^1.2.0"
27562756
strip-json-comments "~2.0.1"
27572757

2758-
react-dom@^15.5.3:
2759-
version "15.5.3"
2760-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.3.tgz#2ee127ce942df55da53111ae303316e68072b5c5"
2758+
react-dom@^15.5.4:
2759+
version "15.5.4"
2760+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.4.tgz#ba0c28786fd52ed7e4f2135fe0288d462aef93da"
27612761
dependencies:
27622762
fbjs "^0.8.9"
27632763
loose-envify "^1.1.0"
27642764
object-assign "^4.1.0"
2765-
prop-types "~15.5.0"
2765+
prop-types "~15.5.7"
27662766

2767-
react@^15.5.3:
2768-
version "15.5.3"
2769-
resolved "https://registry.yarnpkg.com/react/-/react-15.5.3.tgz#84055382c025dec4e3b902bb61a8697cc79c1258"
2767+
react@^15.5.4:
2768+
version "15.5.4"
2769+
resolved "https://registry.yarnpkg.com/react/-/react-15.5.4.tgz#fa83eb01506ab237cdc1c8c3b1cea8de012bf047"
27702770
dependencies:
27712771
fbjs "^0.8.9"
27722772
loose-envify "^1.1.0"
27732773
object-assign "^4.1.0"
2774-
prop-types "^15.5.2"
2774+
prop-types "^15.5.7"
27752775

27762776
"readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.1.4, readable-stream@^2.2.2:
27772777
version "2.2.9"

0 commit comments

Comments
 (0)