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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
Need to use babel, the example from the documentation is not working, and I can't figure out why.
Doing this:
npm create vite@latest
, options: Svelte, JavaScriptnpm install svelte-preprocess @babel/core @babel/preset-env --save
Update
svelte.config.js
:That's all.
Testing on @babel/plugin-transform-unicode-sets-regex
Update
src\App.svelte
:In the
dist\assets\index-name.js
expecting/[0-9]/u
But there is no transpilation happening.
Repository with code https://github.com/alkorlos/svelte-preprocess-issue-babel
Did I miss a step in the documentation? Аdvise please.
Beta Was this translation helpful? Give feedback.
All reactions