https://github.com/cxw42/browserify-esmify-example
Example of using esmify to support ES6 import syntax in browserify. Also shows including UMD modules!
https://github.com/cxw42/browserify-esmify-example
browserify bundler commonjs commonjs-modules esmify example-project umd umd-modules
Last synced: about 1 month ago
JSON representation
Example of using esmify to support ES6 import syntax in browserify. Also shows including UMD modules!
- Host: GitHub
- URL: https://github.com/cxw42/browserify-esmify-example
- Owner: cxw42
- License: mit
- Created: 2018-09-04T14:44:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T15:02:32.000Z (about 7 years ago)
- Last Synced: 2025-03-06T07:36:27.586Z (10 months ago)
- Topics: browserify, bundler, commonjs, commonjs-modules, esmify, example-project, umd, umd-modules
- Language: JavaScript
- Homepage: https://stackoverflow.com/a/52168217/2877364
- Size: 67.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# browserify-esmify-example
Example of using esmify to support ES6 import syntax in browserify. Also shows including UMD modules!
## Running
npm install
npm run build
Then open `example.html` in a browser. You should see a spinner. If you
open the developer console, you will be able to access a window global called
`Multidex`.
## License
MIT, except for `lib/multidex.js`, which has its own license.