File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
rspack/lightingcss-loader Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const config = {
5
5
module : {
6
6
rules : [
7
7
{
8
- test : / a n s w e r \. c s s $ / ,
8
+ test : / \. c s s $ / ,
9
9
use : [
10
10
{
11
11
loader : 'builtin:lightningcss-loader' ,
@@ -17,28 +17,12 @@ const config = {
17
17
] ,
18
18
type : 'css' ,
19
19
} ,
20
- {
21
- test : / .c s s $ / ,
22
- use : [
23
- rspack . CssExtractRspackPlugin . loader ,
24
- 'css-loader' ,
25
- {
26
- loader : 'builtin:lightningcss-loader' ,
27
- /** @type {import('@rspack/core').LightningcssLoaderOptions } */
28
- options : {
29
- targets : 'ie 10' ,
30
- } ,
31
- } ,
32
- ] ,
33
- type : 'javascript/auto' ,
34
- } ,
35
20
] ,
36
21
} ,
37
22
plugins : [
38
23
new rspack . HtmlRspackPlugin ( {
39
24
template : './index.html' ,
40
25
} ) ,
41
- new rspack . CssExtractRspackPlugin ( ) ,
42
26
] ,
43
27
experiments : {
44
28
css : true ,
You can’t perform that action at this time.
0 commit comments