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