Closed scenaristeur closed 4 years ago
Hi @scenaristeur,
Since LDflex for Solid is exposed as window.solid.data
, you will want something like:
'@solid/query-ldflex': {
root: ['solid', 'data'],
commonjs: '@solid/query-ldflex', // not used, but needed for config
commonjs2: '@solid/query-ldflex', // not used, but needed for config
},
thxs it's perfect and works like a charm ! https://scenaristeur.github.io/shighl/instances.html
Hi @RubenVerborgh ,
I'm working on Shighl a S-olid HIGH L-evel API based on query-ldflex, this is a tool with some high level function to interact with POD session, inbox, longchat and I need to externalize query-ldflex, but I don't know on to configure Webpack for that.
I've tried some
but I got this error " TypeError: _solid_query_ldflexWEBPACK_IMPORTED_MODULE20default.a is undefined"
I can import vendor/solid-query-ldflex.bundle.js on this page https://scenaristeur.github.io/shighl/externalize.html but my lib is always ~10Mo. Do you have an idea ? Thxs