Skip to content

Commit da877dc

Browse files
committed
fix: add sideEffects to package.json
Add explicit `sideEffects` to the package.json to prevent aggressively optimizing bundlers from removing setOptions from the bundle. See: googlemaps#1083
1 parent 2ad4e0a commit da877dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"require": "./dist/index.cjs",
2424
"types": "./dist/index.d.ts"
2525
},
26+
"sideEffects": [
27+
"dist/index.js",
28+
"dist/index.cjs"
29+
],
2630
"files": [
2731
"dist/",
2832
"src/"

0 commit comments

Comments
 (0)