Replies: 1 comment
-
Any Progress? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
Svelte
app that I build withvite
which involvesvite
transpiling which is how.svelte
files are converted to.js
or how not-really-javascript likeimport myFunctionsRaw from "./note-custom-functions.md?raw";
are implemented.I cannot write bun test that import
.svelte
files or files that use the above non-standardimport
.Is there a way to make it work?
I've read
bun test
docs but there doesn't seem anything related to that.It seems to make this work when
bun test
doesimport x from "./foo.svelte
orimport y from "./foo.js"
, those files would have to be first pre-processed by my existing vite setup.Is that possible? How to configure
bun
(or maybevite
?) to make that work?Beta Was this translation helpful? Give feedback.
All reactions