Add ES6 module build
See original GitHub issueI’m currently profiling a cyclejs app and scope hoisting is not possible with xstream because of missing ES6 build.
The problem is again with the extra imports. The same problem we had with @cycle/time
. So either:
- offer no ES6 for
extra
operators (will cause problems with source maps for ES6 users) - split package in
xstream
andxstream-extras
(this could also be splitted inxstream-time
) so if you are using@cycle/time
you do not bundle the time operators + we can deprecate it some day in the future)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10 (4 by maintainers)
Top Results From Across the Web
A Practical guide to ES6 modules - freeCodeCamp
In this article, we'll create a simple dashboard using ES6 modules, and then present optimization techniques for improving the folder ...
Read more >Build a JavaScript Util Library for NPM with ES6 Modules and ...
We are going to have two package.json files: one at the root and one in the dist directory. package.json (root):. Notice the compile...
Read more >JavaScript modules - MDN Web Docs
This guide gives you all you need to get started with JavaScript module syntax.
Read more >ES6 Modules and How to Use Import and Export in JavaScript
Angular 2 makes heavy use of ES6 modules, so the syntax will be very ... Build applications, host websites, run open source software, ......
Read more >Add ES6 module build · Issue #338 · snabbdom/snabbdom · GitHub
Snabbdom cannot be scope hoisted because it only has a commonjs build. The package.json file allows for a second entry module near main...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will open a PR later
Currently,
xstream
cannot be effectively used from jspm.dev CDN, due to the way it was bundled:https://github.com/jspm/project/issues/83#issuecomment-724585651