rename browserified polyfill to browser-polyfill - fixes #140
This commit is contained in:
parent
68b99a7004
commit
bf8d9801ce
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,7 +6,7 @@ test/tmp
|
|||||||
/templates.json
|
/templates.json
|
||||||
/tests.json
|
/tests.json
|
||||||
/browser.js
|
/browser.js
|
||||||
/polyfill.js
|
/browser-polyfill.js
|
||||||
/runtime.js
|
/runtime.js
|
||||||
coverage
|
coverage
|
||||||
dist
|
dist
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -66,7 +66,7 @@ publish:
|
|||||||
|
|
||||||
make build
|
make build
|
||||||
cp dist/6to5.min.js browser.js
|
cp dist/6to5.min.js browser.js
|
||||||
cp dist/polyfill.min.js polyfill.js
|
cp dist/polyfill.min.js browser-polyfill.js
|
||||||
cp dist/runtime.min.js runtime.js
|
cp dist/runtime.min.js runtime.js
|
||||||
|
|
||||||
node bin/cache-templates
|
node bin/cache-templates
|
||||||
|
|||||||
@ -346,8 +346,8 @@ require("6to5/polyfill");
|
|||||||
|
|
||||||
### Browser
|
### Browser
|
||||||
|
|
||||||
Available from the `polyfill.js` file within the 6to5 directory of an npm
|
Available from the `browser-polyfill.js` file within the 6to5 directory of an
|
||||||
release.
|
npm release.
|
||||||
|
|
||||||
## Optional runtime
|
## Optional runtime
|
||||||
|
|
||||||
|
|||||||
1
polyfill.js
Normal file
1
polyfill.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
module.exports = require("./lib/6to5/polyfill");
|
||||||
Loading…
x
Reference in New Issue
Block a user