Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 10c9615

Browse files
author
Wenjie Xia
committed
fix: fix sass loader plugin
1 parent 9e6a22c commit 10c9615

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/sass.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const pluginFactory = (opts: Options = {}): LoaderPlugin => ({
2323

2424
// make the `pluginFactory` function as a plugin
2525
const defaultPlugin = pluginFactory()
26+
pluginFactory.type = defaultPlugin.type
2627
pluginFactory.test = defaultPlugin.test
2728
pluginFactory.acceptHMR = defaultPlugin.acceptHMR
2829
pluginFactory.transform = defaultPlugin.transform

0 commit comments

Comments
 (0)