https://github.com/xgqfrms/React/blob/gh-pages/React-2017/plurasight/webpack-advanced.js
https://github.com/xgqfrms-GitHub/webpack2/tree/gh-pages/Tutorials
https://github.com/xgqfrms/learning/tree/gh-pages/Front-End-Tools/Webpack
https://github.com/xgqfrms-GitHub/webpack2/blob/gh-pages/Tutorials/01-installation.md#
/**
* Created by xgqfrms on 2017/3/31.
* Copyright © 2017-2050 xgqfrms
* @version 2.1.1
* website: https://www.xgqfrms.xyz/copyright.html
*/
'use strict';
// npm
"scripts": {
"start": "webpack --config webpack.config.js",
"pro": "webpack --config webpack.pro.config.js",
"dev": "webpack --config webpack.dev.config.js"
}
https://gist.github.com/xgqfrms-GitHub/0de1b7c9ac1478721ede3ff73189826e
https://github.com/xgqfrms/xgqfrms/tree/gh-pages/webpack
https://github.com/erikras/react-native-listener/blob/master/webpack.config.base.js https://github.com/erikras/react-native-listener/blob/master/webpack.config.production.js https://github.com/erikras/react-native-listener/blob/master/webpack.config.development.js
https://github.com/erikras/react-native-listener/blob/master/package.json
"scripts": {
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min",
"build:lib": "babel src --out-dir lib",
"build:umd": "webpack src/index.js dist/react-native-listener.js --config webpack.config.development.js",
"build:umd:min": "webpack src/index.js dist/react-native-listener.min.js --config webpack.config.production.js",
"clean": "rimraf dist lib",
"lint": "eslint src",
"prepublish": "npm run lint && npm run test && npm run clean && npm run build"
},
react-scripts
https://www.npmjs.com/package/react-scripts
https://github.com/facebookincubator/create-react-app/tree/master/packages/react-scripts
https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md