8000 feat: Use cssFiles name as key for manifest · fuse-box/fuse-box@fb107ef · 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 fb107ef

Browse files
smitt04nchanged
authored andcommitted
feat: Use cssFiles name as key for manifest
1 parent d3f5491 commit fb107ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quantum/plugin/BundleWriter.ts

Lines changed: 2 additions & 2 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ export class BundleWriter {
145145
}
146146
//output.write(this.core.opts.getCSSPath(), cssString)
147147
const cssResultData = await output.writeToOutputFolder(name, cssCollection.getString(), true);
148-
bundleManifest[key] = {
148+
bundleManifest[name] = {
149149
filename : cssResultData.filename,
150150
type : "css",
151151
hash : cssResultData.hash,
152152
absPath : cssResultData.path,
153153
relativePath : cssResultData.relativePath,
154154
webIndexed : true
155-
}
155+
};
156156
this.core.producer.injectedCSSFiles.add(cssResultData.filename);
157157
if ( useSourceMaps ) {
158158
output.writeToOutputFolder(this.core.opts.getCSSSourceMapsPath(), cssCollection.sourceMap);

0 commit comments

Comments
 (0)
0