Skip to content

Commit

Permalink
Be more explicit about what's included in dist/
Browse files Browse the repository at this point in the history
This effectively removes the unminified versions:
 - mapbox-gl-unminified-master.js should not be leaking in the package.
 - mapbox-gl-unminified.js is redundant to the minified version with source maps.
 - mapbox-gl-unminified.js.map shouldn't be necessary.
The dev package could potentially be removed, but may be used for debug/testing/assertion build variants
  • Loading branch information
karimnaaji committed Apr 13, 2020
1 parent dc3ea68 commit 15d9e87
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,16 @@
},
"files": [
"build/",
"dist/mapbox-gl*",
"dist/mapbox-gl-csp-worker.js",
"dist/mapbox-gl-csp-worker.js.map",
"dist/mapbox-gl-csp.js",
"dist/mapbox-gl-csp.js.map",
"dist/mapbox-gl-dev.js",
"dist/mapbox-gl-dev.js.flow",
"dist/mapbox-gl.css",
"dist/mapbox-gl.js",
"dist/mapbox-gl.js.flow",
"dist/mapbox-gl.js.map",
"dist/style-spec/",
"flow-typed/*.js",
"src/",
Expand Down

0 comments on commit 15d9e87

Please sign in to comment.