0.1.18 • Published 4 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
4 years ago
0.1.17
4 years ago
0.1.16
4 years ago
0.1.15
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago