I assume I do know how to use this plugin for webpack, as well a webpack itself, although npm link does work (e.g. identifies globally exposed variables), importing before exported .svelte files returns empty object in the some-project project .
I have followed this tutorial trying to achieve same but on Webpack rather than Rollup + used NPM documentation including package.json file set up, etc.
Any chance this is something to do with svelte-loader, if so some solution-like pseudo-code would be appreciated . Thanks !
I try to use Svelte for some-project
I assume I do know how to use this plugin for webpack, as well a webpack itself, although
npm link
does work (e.g. identifies globally exposed variables), importing before exported .svelte files returns empty object in the some-project project .I have followed this tutorial trying to achieve same but on Webpack rather than Rollup + used NPM documentation including
package.json
file set up, etc.Any chance this is something to do with svelte-loader, if so some solution-like pseudo-code would be appreciated . Thanks !