Skip to content

Commit 5603726

Browse files
committed
chore: update rollup build to match this PR
1 parent e1213fc commit 5603726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const defaultOutputData = buildFormats.map(({ file, format }) => ({
9696

9797
// this step is just to build the minified css and es modules javascript
9898
const minifiedOutputData = buildFormats.map(({ file, format }) => ({
99-
file: file.replace('.js', '.min.js'),
99+
file: file.replace('.js', '.min.js').replace('.cjs', '.min.cjs').replace('.mjs', '.min.mjs'),
100100
format,
101101
plugins: [...pluginsForCSSMinification, terser(), filesize()],
102102
}))

0 commit comments

Comments
 (0)