Skip to content

Commit 453e1bf

Browse files
committed
Use UMD bundle to filesize check
1 parent 869aaf4 commit 453e1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"filesize": "npm run compile:browser && ./scripts/filesize.js --file=./dist/index.min.js --maxGzip=44",
1515
"compile": "tsc",
1616
"compile:test": "npm run compile && babel lib --out-dir lib --source-maps",
17-
"compile:browser": "rm -rf ./dist && mkdir ./dist && browserify ./lib/src/index.js -o=./dist/index.js && npm run minify:browser",
17+
"compile:browser": "rm -rf ./dist && mkdir ./dist && browserify ./lib/apollo.umd.js -o=./dist/index.js && npm run minify:browser",
1818
"minify:browser": "uglifyjs --compress --mangle --screw-ie8 -o=./dist/index.min.js -- ./dist/index.js",
1919
"watch": "tsc -w",
2020
"bundle": "rollup -c",

0 commit comments

Comments
 (0)