rename browserified polyfill to browser-polyfill - fixes #140

This commit is contained in:
Sebastian McKenzie 2014-11-11 13:13:10 +11:00
parent 68b99a7004
commit bf8d9801ce
4 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -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
View File

@ -0,0 +1 @@
module.exports = require("./lib/6to5/polyfill");