Skip to content

Commit

Permalink
Remove React Hot Loader paths from production build
Browse files Browse the repository at this point in the history
  • Loading branch information
agordillo committed Mar 13, 2018
1 parent 17ee1ca commit 3cf236b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions dist/bundle.js

Large diffs are not rendered by default.

Binary file modified dist_scorm/scorm12.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions dist_scorm/scorm12/bundle.js

Large diffs are not rendered by default.

Binary file modified dist_scorm/scorm2004.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions dist_scorm/scorm2004/bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"start": "webpack-dev-server",
"clean": "rimraf dist rimraf dist_scorm",
"production": "rimraf dist && webpack --config webpack.production.config.js --progress --profile --colors && cross-env npm run copy_assets",
"production": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.production.config.js --progress --profile --colors && cross-env npm run copy_assets",
"copy_assets": "mkdir -p dist/assets && cp -r app/assets dist/ && rm -rf dist/assets/scss",
"scorm_package": "rimraf dist_scorm && cross-env npm run production && cross-env node tasks/scorm_package.js",
"lint": "eslint --fix --ext .js,.jsx,.es6 app/main.js app/components app/config/ app/vendors/I18n.js app/vendors/Utils.js app/constants app/reducers tasks tests",
Expand Down Expand Up @@ -40,7 +40,6 @@
"fs-extra": "^5.0.0",
"react": "16.0.0",
"react-dom": "^16.0.0",
"react-hot-loader": "3.1.1",
"react-redux": "^5.0.6",
"react-router-dom": "4.2.0",
"redux": "^3.7.2",
Expand Down Expand Up @@ -75,6 +74,7 @@
"node-sass": "4.5.3",
"open-browser-webpack-plugin": "0.0.5",
"react-addons-test-utils": "15.6.2",
"react-hot-loader": "3.1.1",
"react-test-renderer": "16.0.0",
"rimraf": "2.6.2",
"sass-loader": "6.0.6",
Expand Down

0 comments on commit 3cf236b

Please sign in to comment.