Query-Solid
Query-Solid copied to clipboard
Make Webpack configuration for an ES6 module
Hi, We need to be able LDFlex as an ES6 module that could be imported directly from a CDN in a browser.
Does https://solid.github.io/query-ldflex/dist/solid-query-ldflex.bundle.js help?
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';
Got it; creating a webpack configuration for this purpose will do, and then we can reuse the same build mechanism.
unfortunately, webpack seam unable to target es6 module output. https://github.com/webpack/webpack/issues/2933
Rollup could probably do it.