Commit c640252
authored
fix: ExtractCssChunksPlugin.loader is a string (#291)
Because else it doesn't work with:
```
{
loader: CssExtractPlugin.loader,
options: { hmr: !production && target !== 'node' },
}
```
type Loader is `string | NewLoader` and `NewLoader` is:
```
interface NewLoader {
loader: string;
options?: { [name: string]: any };
}
```1 parent c3c22f8 commit c640252
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments