-
Notifications
You must be signed in to change notification settings - Fork 72
Emit JS? #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
eek! I honestly have no idea. Hopefully someone else will... |
I was able to make it polyfill the I'm gonna close this since I've already solved my main issue. PS: regarding sveltejs/svelte#1359, if the output of PS²: Edit: If anyone is on the same boat as I was: Not pretty, but it gets the job done 😸 |
Wait, I might be running into this too. I'm trying to get babel to transpile the svelte code into IE11 friendly versions and the shared.js file still has arrow functions in it. I'm not really following what you're doing there, can you tell me how to fix this?
|
@kaisermann Thanks a million for posting this code. I had the exact same problem and your code screenshot was the key. I needed to do the babel-loader in a @roemhildtg I think you're on the right track, you just need to make sure you're also testing for |
@roemhildtg To follow up on this, because I was having the same issue too just now. Since the |
Case => function error not transpiled IE11
|
Uh oh!
There was an error while loading. Please reload this page.
I'm currently making a
svelte-webpack-template
for a somewhat old webkit environment. Withbabel-preset-env
, I'm trying to automatically polyfill my project's and svelte's generated code.My first attempt was to call
babel-loader
aftersvelte-loader
was done:Unfortunately, it stopped working with the last updates of
svelte-loader
/svelte
and nowbabel-loader
tries to read the template file itself ( ¯\_(◕_◕)_/¯ ).My next thought was probably a dumb question, but... would it make sense to "emit" the
js
generated by thesvelte
compiler?(or maybe there's a better way to do this...)
The text was updated successfully, but these errors were encountered: