question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ES6 module build

See original GitHub issue

I’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 and xstream-extras (this could also be splitted in xstream-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:open
  • Created 6 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jvanbrueggecommented, Oct 25, 2017

I will open a PR later

1reaction
teohhanhuicommented, Nov 10, 2020

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

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found