Directory Structure: build
build
|
|———— fonts
| |____ *.[hash].{eot,svg,ttf,woff}
|
|———— images
| |____ *.[hash].{jpg,jpeg,png,gif}
|
|———— scripts
| |———— *.[hash].js
| |———— app.bundle.[hash].js
| |____ vendor.bundle.min.js
|
|———— styles
| |———— *.[hash].css
| |____ app.bundle.[hash].css
|
|———— favicon.ico
|
|____ index.html
The build directory contains those files that are created by command: yarn run build
or yarn run analyse
If you want to change the structure, you can find thoes files:
webpack-base/loaders.js
all files that includes the setting of webpack output
If you want to change the name of build directory, you can find the file webpack-base/index.js
and modify below code:
output: {
path: _dirs.build,
publicPath: '/'
}