-
Notifications
You must be signed in to change notification settings - Fork 1
Description
webpack2 new
webpack2 & npm clean
https://www.npmjs.com/package/rimraf
rimraf
https://github.com/isaacs/rimraf
The UNIX command
rm -rffor node.
// API
rimraf(f, [opts], callback)$ rm -rf
$ rm -rf
# rm === remove
# -r === recursive
# -f === force
https://gist.github.com/xgqfrms-GitHub/f71453cff397181ad927c5217ec9b7e4
<script>
{
"scripts": {
"build": "webpack",
"clean": "rimraf ./dist/*",
"dev": "webpack-dev-server",
"prod": "npm run clean && webpack -p"
}
}
</script>
<script>
{
"scripts": {
"build": "webpack",
"dev": "webpack",
"prod": "npm run clean && webpack -production"
}
}
</script>webpack2 & npm clean & rimraf
https://github.com/isaacs/rimraf
https://www.npmjs.com/package/gulp-clean
https://www.npmjs.com/package/gulp-clean-css
https://www.npmjs.com/package/clean-webpack-plugin
https://www.npmjs.com/package/friendly-errors-webpack-plugin
https://www.npmjs.com/package/webpack-cleanup-plugin
https://gist.github.com/xgqfrms-GitHub/f71453cff397181ad927c5217ec9b7e4
https://gist.github.com/xgqfrms-GitHub/19829c5d830ea4b2fe0c6ef5a622a1f5
https://github.com/stanzhai/be-a-professional-programmer
https://github.com/kpaxqin/react-from-scratch
https://github.com/zpao/building-react-from-scratch
https://github.com/reactjs/express-react-views
https://github.com/zpao/qrcode.react
https://github.com/facebook/draft-js
<QRCode
value={"https://www.xgqfrms.xyz/"}
size={320}
bgColor={"#00ff80"}
fgColor={"#ff00ff"}
level={"L"}
/>https://zpao.github.io/qrcode.react/
https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build
https://facebook.github.io/react/contributing/implementation-notes.html
https://github.com/kpaxqin/react-from-scratch
https://kpaxqin.github.io/blog/2016/03/13/High-order_component_in_React