Skip to content

Commit

Permalink
switched to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Dec 16, 2023
1 parent 1128499 commit 0c1c04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import autoprefixer from 'autoprefixer'

const browserConfig = {
input: 'client/index.tsx',
output: [{ dir: 'build/browser', format: 'cjs' }],
output: [{ dir: 'build/browser', format: 'esm' }], // TODO preserveModules: true
onwarn(warning, rollupWarn) {
if (warning.code !== 'CIRCULAR_DEPENDENCY') {
rollupWarn(warning)
Expand Down

0 comments on commit 0c1c04c

Please sign in to comment.