Skip to content

Commit 5ee3c05

Browse files
committed
Simplify build script
1 parent f750d03 commit 5ee3c05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"module": "dist/index.m.js",
88
"unpkg": "dist/index.umd.js",
99
"scripts": {
10-
"build": "microbundle --external react,events && cp node_modules/@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css dist/",
10+
"build": "microbundle build && npm run cp:css",
11+
"cp:css": "cp node_modules/@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css dist/",
1112
"format": "prettier --write 'src/**/*.js'",
1213
"prepublishOnly": "npm run build"
1314
},

0 commit comments

Comments
 (0)