@@ -73,14 +73,56 @@ module.exports = {
73
73
74
74
## Options
75
75
76
- ### ` publicPath `
76
+ ### Plugin Options
77
+
78
+ | Name | Type | Default | Description |
79
+ | :-----------------------------------: | :------------------: | :-----------------: | :------------------------------------------------------- |
80
+ | ** [ ` filename ` ] ( #filename ) ** | ` {String\|Function} ` | ` [name].css ` | This option determines the name of each output CSS file |
81
+ | ** [ ` chunkFilename ` ] ( #chunkFilename ) ** | ` {String\|Function} ` | ` based on filename ` | This option determines the name of non-entry chunk files |
82
+ | ** [ ` ignoreOrder ` ] ( #ignoreOrder ) ** | ` {Boolean} ` | ` false ` | Remove Order Warnings |
83
+
84
+ #### ` filename `
85
+
86
+ Type: ` String|Function `
87
+ Default: ` [name].css `
88
+
89
+ This option determines the name of each output CSS file.
90
+
91
+ Works like [ ` output.filename ` ] ( https://webpack.js.org/configuration/output/#outputfilename )
92
+
93
+ #### ` chunkFilename `
94
+
95
+ Type: ` String|Function `
96
+ Default: ` based on filename `
97
+
98
+ This option determines the name of non-entry chunk files.
99
+
100
+ Works like [ ` output.chunkFilename ` ] ( https://webpack.js.org/configuration/output/#outputchunkfilename )
101
+
102
+ #### ` ignoreOrder `
103
+
104
+ Type: ` Boolean `
105
+ Default: ` false `
106
+
107
+ ** [ ` Remove Order Warnings ` ] ( #removeOrderWarnings ) **
108
+
109
+ ### Loader Options
110
+
111
+ | Name | Type | Default | Description |
112
+ | :-----------------------------: | :------------------: | :--------------------------------: | :-------------------------------------------------------------------------------- |
113
+ | ** [ ` publicPath ` ] ( #publicPath ) ** | ` {String\|Function} ` | ` webpackOptions.output.publicPath ` | Specifies a custom public path for the external resources like images, files, etc |
114
+ | ** [ ` esModule ` ] ( #esModule ) ** | ` {Boolean} ` | ` true ` | Use ES modules syntax |
115
+ | ** [ ` modules ` ] ( #modules ) ** | ` {Object} ` | ` undefined ` | Configuration CSS Modules |
116
+
117
+ #### ` publicPath `
77
118
78
119
Type: ` String|Function `
79
120
Default: the ` publicPath ` in ` webpackOptions.output `
80
121
81
- Specifies a custom public path for the target file(s).
122
+ Specifies a custom public path for the external resources like images, files, etc inside ` CSS ` .
123
+ Works like [ ` output.publicPath ` ] ( https://webpack.js.org/configuration/output/#outputpublicpath )
82
124
83
- #### ` String `
125
+ ##### ` String `
84
126
85
127
** webpack.config.js**
86
128
@@ -115,7 +157,7 @@ module.exports = {
115
157
};
116
158
```
117
159
118
- #### ` Function `
160
+ ##### ` Function `
119
161
120
162
** webpack.config.js**
121
163
@@ -152,7 +194,7 @@ module.exports = {
152
194
};
153
195
```
154
196
155
- ### ` esModule `
197
+ #### ` esModule `
156
198
157
199
Type: ` Boolean `
158
200
Default: ` true `
@@ -188,14 +230,14 @@ module.exports = {
188
230
};
189
231
```
190
232
191
- ### ` modules `
233
+ #### ` modules `
192
234
193
235
Type: ` Object `
194
236
Default: ` undefined `
195
237
196
238
Configuration CSS Modules.
197
239
198
- #### ` namedExport `
240
+ ##### ` namedExport `
199
241
200
242
Type: ` Boolean `
201
243
Default: ` false `
0 commit comments