Rax project development tools.
Commands
start
Start development services, Default enable hot reload and inline-module-source-map.build
Bundle the project.
Customize Webpack Config
rax-scripts has its own default webpack configuration. Also you can modify the webpack configuration.
webpack.config.rewire.js
into project root.
1. create rax-project
├── src
│ ├── App.css
│ ├── App.js
│ └── index.js
└── webpack.config.rewire.js
webpack.config.rewire.js
accept a webpackConfig and return it.
2. like:
// webpack.config.rewire.jsconst sassLoader = require; module { webpackConfigmoduleloaders; return webpackConfig;};