Skip to content

Commit

Permalink
add cjs to library build (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
halocline authored Jul 24, 2024
1 parent 8de71e8 commit a306c2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grommet-leaflet/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default defineConfig({
entry: resolve(__dirname, 'src/index.js'),
name: 'grommet-leaflet',
fileName: 'grommet-leaflet',
formats: ['es', 'cjs', 'umd'],
},
rollupOptions: {
// externalize deps that shouldn't be bundled with library
Expand Down

0 comments on commit a306c2c

Please sign in to comment.