Skip to content

Commit 18bb684

Browse files
xiaochena小陈啊!!!
andauthored
fix 加载多个loader 应该使用use (#1654)
Co-authored-by: 小陈啊!!! <[email protected]>
1 parent d5268ad commit 18bb684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/loaders/less-loader.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
rules: [
4545
{
4646
test: /\.less$/i,
47-
loader: [
47+
use: [
4848
// compiles Less to CSS
4949
'style-loader',
5050
'css-loader',

0 commit comments

Comments
 (0)