0.1.18 • Published 3 years ago
webpack-factory-config v0.1.18
webpack-factory-config
This basic webpack config.
Options
Name | Type | Required | Default | Description | Example |
---|---|---|---|---|---|
tsConfig | String | true | The path to the "tsconfig.json" file. | ||
srcApp | String | true | Path to the directory with the project code. | ./src | |
indexApp | String | true | The path to the index file of the application. | ||
indexHtml | String | true | Path to index.html file. | ||
outputPath | String | true | Path to directory with output files. | ./dist | |
publicPath | String | false | |||
assetsPath | String | false | The path to the directory with static resource files. Will be copied to outputPath . | ||
mode | String | false | process.env.NODE_ENV \|\| 'development' | Build mode. development or production | |
useSourceMap | Boolean | false | false | Generate source maps |
This configuration includes
Package | Version |
---|---|
webpack | 5.33 |
typescript | 4.2 |
webpack-dev-server | 3.11 |
sass | 1.32 |
sass | 1.32 |
postcss | 8.2 |
Loaders
Package | Version |
---|---|
ts-loader | 8.1 |
url-loader | 4.1 |
file-loader | 6.2 |
css-loader | 5.2 |
style-loader | 2.0 |
sass-loader | 11.0 |
postcss-loader | 5.2 |
postcss-safe-parser | 5.0 |
Plugin
Package | Version |
---|---|
html-webpack-plugin | 5.3 |
mini-css-extract-plugin | 1.5 |
terser-webpack-plugin | 5.1 |
copy-webpack-plugin | 8.1 |
clean-webpack-plugin | 3.0 |
css-minimizer-webpack-plugin | 2.0 |
0.1.18
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.15
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago