You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It is currently a bit verbose to use svelte with bundler file handlers like @rollup/plugin-url and Webpack file-loader
Describe the solution you'd like
I would like to be able to do:
export { default as successkid } from './successkid.jpg';
If I try this today I am told:
A component currently cannot have an export ... from
Describe alternatives you've considered
Right now I need to do:
import successkidJpg from './successkid.jpg';
export let successkid = successkidJpg;
How important is this feature to you?
It would make Svelte more joyful to work with. I have a workaround, but the current syntax is rather tedious
Additional context
There are lots of people wanting better static file handling in Sapper and this is a part of that
Is your feature request related to a problem? Please describe.
It is currently a bit verbose to use svelte with bundler file handlers like @rollup/plugin-url and Webpack file-loader
Describe the solution you'd like
I would like to be able to do:
If I try this today I am told:
Describe alternatives you've considered
Right now I need to do:
How important is this feature to you?
It would make Svelte more joyful to work with. I have a workaround, but the current syntax is rather tedious
Additional context
There are lots of people wanting better static file handling in Sapper and this is a part of that
The text was updated successfully, but these errors were encountered: