Skip to content

Commit

Permalink
FIX: rollup warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hosuaby committed Jul 27, 2024
1 parent 92e5624 commit e095304
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ import {uglify} from 'rollup-plugin-uglify';

export default [{
input: 'src/SmoothMarkerBouncing.js',
external: ['leaflet'],
output: {
file: 'dist/bundle.js',
format: 'iife',
name: 'bundle'
name: 'bundle',
globals: {
leaflet: 'L'
}
},
plugins: [
babel({
Expand All @@ -19,10 +23,14 @@ export default [{
]
}, {
input: 'src/SmoothMarkerBouncing.js',
external: ['leaflet'],
output: {
file: 'dist/bundle.min.js',
format: 'iife',
name: 'bundle'
name: 'bundle',
globals: {
leaflet: 'L'
}
},
plugins: [
babel({
Expand Down

0 comments on commit e095304

Please sign in to comment.