From 506fc6ce6f38eb4e7764d2e83f2da8e6d9c705f3 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Wed, 26 Apr 2017 19:54:21 -0400 Subject: [PATCH] Fix issue where dev code was not stripped out. --- package.json | 6 +++--- rollup.config.js | 2 +- yarn.lock | 20 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 857b42d..e3faccb 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "devDependencies": { "babel-cli": "^6.24.1", "babel-eslint": "^7.2.1", - "babel-preset-es2015": "6^.24.1", + "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-register": "^6.14.0", @@ -63,8 +63,8 @@ "lint-staged": "^3.4.0", "mocha": "^3.2.0", "prettier": "^1.2.2", - "react": "^15.5.3", - "react-dom": "^15.5.3", + "react": "^15.5.4", + "react-dom": "^15.5.4", "rollup": "^0.41.6", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-commonjs": "^8.0.2", diff --git a/rollup.config.js b/rollup.config.js index cf14e14..bd6d576 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,7 +8,7 @@ export default { plugins: [ replace({ 'process.env.NODE_DEBUG': false, - 'process.env.NODE_ENV': 'production' + 'process.env.NODE_ENV': '"production"' }), resolve({ jsnext: true, main: true }), commonjs({ include: 'node_modules/**' }), diff --git a/yarn.lock b/yarn.lock index f1801a2..bda4e77 100644 --- a/yarn.lock +++ b/yarn.lock @@ -754,7 +754,7 @@ babel-polyfill@^6.23.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-preset-es2015@6^.24.1: +babel-preset-es2015@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939" dependencies: @@ -2721,7 +2721,7 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -prop-types@^15.5.2, prop-types@^15.5.8, prop-types@~15.5.0: +prop-types@^15.5.7, prop-types@^15.5.8, prop-types@~15.5.7: version "15.5.8" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.8.tgz#6b7b2e141083be38c8595aa51fc55775c7199394" dependencies: @@ -2755,23 +2755,23 @@ rc@^1.1.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-dom@^15.5.3: - version "15.5.3" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.3.tgz#2ee127ce942df55da53111ae303316e68072b5c5" +react-dom@^15.5.4: + version "15.5.4" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.5.4.tgz#ba0c28786fd52ed7e4f2135fe0288d462aef93da" dependencies: fbjs "^0.8.9" loose-envify "^1.1.0" object-assign "^4.1.0" - prop-types "~15.5.0" + prop-types "~15.5.7" -react@^15.5.3: - version "15.5.3" - resolved "https://registry.yarnpkg.com/react/-/react-15.5.3.tgz#84055382c025dec4e3b902bb61a8697cc79c1258" +react@^15.5.4: + version "15.5.4" + resolved "https://registry.yarnpkg.com/react/-/react-15.5.4.tgz#fa83eb01506ab237cdc1c8c3b1cea8de012bf047" dependencies: fbjs "^0.8.9" loose-envify "^1.1.0" object-assign "^4.1.0" - prop-types "^15.5.2" + prop-types "^15.5.7" "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.1.4, readable-stream@^2.2.2: version "2.2.9"