Skip to content

Commit cc81cbe

Browse files
committed
polyfill/ and ponyfill/.
1 parent c9fac82 commit cc81cbe

File tree

9 files changed

+9
-479
lines changed

9 files changed

+9
-479
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "0.0.5",
44
"description": "Universal WHATWG Fetch API for Node, Browsers and React Native",
55
"homepage": "https://github.com/lquixada/cross-fetch",
6-
"browser": "dist/fetch-browser.js",
7-
"main": "fetch-node.js",
6+
"browser": "dist/ponyfill/fetch-browser.js",
7+
"main": "ponyfill/fetch-node.js",
88
"scripts": {
99
"prepublish": "NODE_ENV=production npm run build",
1010
"prepush": "npm test",
11-
"build": "rollup -c",
11+
"build": "npm run build:polyfill && npm run build:ponyfill",
1212
"build:polyfill": "rollup -c polyfill/rollup.config.js",
13-
"build:ponyfill": "rollup -c",
13+
"build:ponyfill": "rollup -c ponyfill/rollup.config.js",
1414
"test": "npm run lint && npm run mocha",
1515
"mocha": "mocha",
1616
"lint": "eslint ."

0 commit comments

Comments
 (0)