Skip to content

Commit 11d65ba

Browse files
committed
fix(build): Fix minified standalone browser build
Previous version built with closure compiler wasn't exposing the global
1 parent 0de3410 commit 11d65ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"clean": "rimraf dist && rimraf browser-dist && rimraf coverage && rimraf out",
1414
"build": "npm run clean && npm run vendor && npm run build:dist && npm run build:standalone",
1515
"build:dist": "babel lib --out-dir dist",
16-
"build:standalone": "webpack -p && ccjs browser-dist/contentful.js --compilation_level=ADVANCED_OPTIMIZATIONS > browser-dist/contentful.min.js 2>/dev/null",
16+
"build:standalone": "webpack && webpack -p --output-filename contentful.min.js",
1717
"docs:build": "jsdoc -r -c jsdoc.json dist",
1818
"docs:dev": "npm run build && npm run docs:build",
1919
"docs:watch": "watchy -w lib,jsdoc-template npm run docs:dev",
@@ -62,7 +62,6 @@
6262
"babel-preset-es2015": "^6.3.13",
6363
"babel-register": "^6.4.3",
6464
"blue-tape": "^0.2.0",
65-
"closurecompiler": "^1.5.2",
6665
"coveralls": "^2.11.6",
6766
"cz-conventional-changelog": "^1.1.5",
6867
"in-publish": "^2.0.0",

0 commit comments

Comments
 (0)