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

Make Webpack configuration for an ES6 module #25

Open
yukulele opened this issue May 5, 2019 · 4 comments
Open

Make Webpack configuration for an ES6 module #25

yukulele opened this issue May 5, 2019 · 4 comments
Labels
feature A new feature to be added good first issue Good for newcomers

Comments

@yukulele
Copy link
Contributor

yukulele commented May 5, 2019

Hi,
We need to be able LDFlex as an ES6 module that could be imported directly from a CDN in a browser.

@RubenVerborgh
Copy link
Member

@yukulele
Copy link
Contributor Author

yukulele commented May 7, 2019

Thank you, but it doesn't work, what I would like is to be able to import it in the es6 style:

import solid from 'solid-query-ldflex-es6.js';

@RubenVerborgh RubenVerborgh changed the title ES6 module Make Webpack configuration for an ES6 module May 7, 2019
@RubenVerborgh
Copy link
Member

Got it; creating a webpack configuration for this purpose will do, and then we can reuse the same build mechanism.

@yukulele
Copy link
Contributor Author

yukulele commented May 10, 2019

unfortunately, webpack seam unable to target es6 module output. webpack/webpack#2933

Rollup could probably do it.

@RubenVerborgh RubenVerborgh added feature A new feature to be added good first issue Good for newcomers labels Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to be added good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants