Skip to content

Commit

Permalink
chore: update rollup build to match this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarion committed Mar 14, 2023
1 parent e1213fc commit 5603726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const defaultOutputData = buildFormats.map(({ file, format }) => ({

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

0 comments on commit 5603726

Please sign in to comment.