Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NPM] - ES Modules are not released on 1.5.3 #161

Open
garyvh2 opened this issue Nov 2, 2018 · 3 comments
Open

[NPM] - ES Modules are not released on 1.5.3 #161

garyvh2 opened this issue Nov 2, 2018 · 3 comments

Comments

@garyvh2
Copy link

garyvh2 commented Nov 2, 2018

I tried to install this library from NPM and it's not supporting ES Modules, I checked the package.json from this repository and seems like there's a configuration to cover different module formats including ES Modules, so I was confused about this problem until I found this comment #135 (comment)

The project have been stuck in 1.4.0 since then, can you make a proper release with the necessary fixes to have both ES Modules and UMD.

@jednano
Copy link

jednano commented Jul 12, 2019

Just curious, how and why are you using this package as a browser/UMD module?

@garyvh2
Copy link
Author

garyvh2 commented Jul 12, 2019

At this point, I'm unsure, but I believe it had to do with WCT (Web Components Tester) not transpiling the modules when running the tests, and as WCT worked with Polymer CLI, (not webpack or any related) require syntax was not supported.

I believe that was the problem, on the end I convinced my team to use Webpack + Karma, instead as it was more mature, and production friendly.

@twin-tigon
Copy link

twin-tigon commented Nov 7, 2019

I'm running into the same issue. I'm trying to use this package from Karma, and I don't use Babel or Webpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants