Skip to content

Commit 3dce7a0

Browse files
committed
chore: tweaks
1 parent 224aaf3 commit 3dce7a0

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/bundler-rspack/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"clean": "rimraf dist"
4242
},
4343
"dependencies": {
44-
"@rsbuild/plugin-pug": "^1.3.3",
4544
"@rspack/core": "^2.0.3",
4645
"@rspack/dev-server": "^2.0.1",
4746
"@vuepress/bundlerutils": "workspace:*",

packages/bundler-rspack/src/config/handleModulePug.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export const handleModulePug = ({ config }: { config: RspackChain }): void => {
77
config.module
88
.rule('pug')
99
.test(/\.pug$/)
10-
.use('pug-loader')
11-
.loader('@rsbuild/plugin-pug')
10+
.use('pug-plain-loader')
11+
.loader('pug-plain-loader')
1212
}

0 commit comments

Comments
 (0)