File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
programs/develop/webpack/plugin-css/css-tools Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,6 @@ export async function maybeUseLess(
57
57
return [
58
58
{
59
59
test : / \. l e s s $ / ,
60
- // Set to 'css/auto' if you want to support '*.module.less'
61
- // as CSS Modules, otherwise set type to 'css'
62
- type : 'css/auto' ,
63
60
oneOf : [
64
61
{
65
62
resourceQuery : / i n l i n e _ s t y l e / ,
@@ -81,8 +78,7 @@ export async function maybeUseLess(
81
78
]
82
79
} ,
83
80
{
84
- test : / \. m o d u l e \. ( s ( a | c ) s s ) $ / ,
85
- // Set to 'css/auto' if you want to support '*.module.less' as CSS Modules, otherwise set type to 'css'
81
+ test : / \. m o d u l e \. l e s s $ / ,
86
82
type : 'css/auto' ,
87
83
oneOf : [
88
84
{
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ export async function maybeUseSass(
67
67
return [
68
68
{
69
69
test : / \. ( s ( a | c ) s s ) $ / ,
70
- // Set to 'css/auto' if you want to support '*.module.less'
71
- // as CSS Modules, otherwise set type to 'css'
72
- type : 'css' ,
73
70
exclude : / \. m o d u l e \. ( s ( a | c ) s s ) $ / ,
74
71
oneOf : [
75
72
{
@@ -93,8 +90,6 @@ export async function maybeUseSass(
93
90
} ,
94
91
{
95
92
test : / \. m o d u l e \. ( s ( a | c ) s s ) $ / ,
96
- // Set to 'css/auto' if you want to support '*.module.less'
97
- // as CSS Modules, otherwise set type to 'css'
98
93
type : 'css/auto' ,
99
94
oneOf : [
100
95
{
You can’t perform that action at this time.
0 commit comments