svelte-loader icon indicating copy to clipboard operation
svelte-loader copied to clipboard

Webpack loader for svelte components.

Results 20 svelte-loader issues
Sort by recently updated
recently updated
newest added
trafficstars

Trying out Svelte 5 on a fairly sized project and got blocked by this problem. I am migrating a writable store to a little API wrapping some state with the...

This might not be a problem in svelte-loader but rather in the svelte compiler, but the issue shows itself in svelte-loader. When I created a `xxx.svelte.js` file which got included...

The documentation states: > If you're using Svelte components installed from npm, you should specify this option I don't use any external Svelte components, and this explodes my webpack build...

This pull request fixes a couple errors I hit when setting `{ compilerOptions: { enableSourcemap: false } }`. At different places, the loader code assumes that each of `js.map` and...

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

Fix loading the default module exports when config is ESM to suppress the warning of checking "resolve.conditionNames".

To reproduce: `App.svelte` ``` {contextModuleData.stuff} import { contextModuleData } from './Test.svelte' ``` `Test.svelte` ``` export const contextModuleData = { stuff: 'ok', } ``` If you have HMR running and update...

I use svelte-loader with emitCss: true and then MiniCssExtractPlugin in my webpack config. I also use svelte-spa-router with the wrap functionality to break my modules up into many chunks. And...

Hi, I'm building the chrome extension with svelte and webpack. Due to this i cannot use the webpack dev server where the HMR is working. The way how i need...

Hi, When importing assets (images for examples) inside HTML of svelte component, it's not processed by the loader and therefore neither by webpack. example that don't work: ```svelte ``` workaround:...

enhancement