Skip to content

Commit ff454f1

Browse files
committed
fix compiled css file name
1 parent 71cb9b1 commit ff454f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/parcel-optimizer/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default new Optimizer<ParcelOptimizerOpts, unknown>({
138138
await outputFS.mkdirp(distDir);
139139
}
140140

141-
const cssFileName = basename(bundle.displayName, '.html') + '.' + hash(stylesheet) + '.css';
141+
const cssFileName = 'compiled.' + hash(stylesheet) + '.css';
142142

143143
await outputFS.writeFile(
144144
join(distDir, cssFileName),

0 commit comments

Comments
 (0)