We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b41d013 commit ff23493Copy full SHA for ff23493
src/fusebox/compression.plugin.ts
@@ -46,15 +46,15 @@ export class CompressionPluginClass implements Plugin {
46
gzip_(file, { level: 9 }).pipe(
47
flatMap(compressed =>
48
bundleOutput.writeToOutputFolder(
49
- `${bundleOutput.lastGeneratedFileName}.gzip`,
+ `${bundleOutput.lastPrimaryOutput.relativePath}.gzip`,
50
compressed
51
)
52
53
),
54
brotli_(file).pipe(
55
56
57
- `${bundleOutput.lastGeneratedFileName}.br`,
+ `${bundleOutput.lastPrimaryOutput.relativePath}.br`,
58
59
60
0 commit comments