Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide more strict output formats and esm #2103
Allow users to choose development/production mode for its dependencies
As a result we stop supporting web (iife and amd) in "main" bundle since
So now we get "dist" pattern which is used across many modern frontend
Added size snapshot rollup plugin to track size changes on every commit.
OK, we'll may need a symlink for
Agreed. That looks like an error that was not yet corrected until now -- though I don't think it affected the output of cytoscape.min.js on master/3.2, it will on 3.3.
May 7, 2018
1 check passed
@TrySound It looks like we may have to drop support for ESM for consumers. Webpack doesn't support it properly for consumers using
I guess someone could do
Ref : webpack/webpack#6584
With a lack of good support in Node and Webpack, it looks like consumption of ESM packages is not quite ready for prime time.
If we keep ESM:
(1) Any package on npm that does
(2) Any webpack project that does
People could work around (2) but not (1). And even (2) is a breaking change -- meaning we'd have to bump the version to cytoscape@4.