8000 fix(Quantum): fix Quantum CSS paths without splitConfig · fuse-box/fuse-box@0ec4058 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 0ec4058

Browse files
committed
fix(Quantum): fix Quantum CSS paths without splitConfig
1 parent 8ad4d2f commit 0ec4058

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/quantum/plugin/BundleWriter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ export class BundleWriter {
144144
if (bundle.quantumBit && splitConfig && splitConfig.resolveOptions) {
145145
const dest = splitConfig.getDest();
146146
cssName = joinFuseBoxPath(dest, output.filename);
147+
} else {
148+
cssName = output.filename;
147149
}
148150
splitOpts.push({ css: true, name: cssName });
149151
}

0 commit comments

Comments
 (0)
0