Skip to content

Commit b5eb427

Browse files
halfnelsonkaisermann
authored andcommitted
Update readme with caveat about transpile only
1 parent 2959fa0 commit b5eb427

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,3 +659,5 @@ import preprocess from 'svelte-preprocess'
659659
}
660660
...
661661
```
662+
663+
Warning: If you do this, you can't import types or interfaces into your svelte component without using the new TS 3.8 `type` import modifier: `import type { SomeInterface } from './MyModule.ts'` otherwise Rollup (and possibly others) will complain that the name is not exported by `MyModule`)

0 commit comments

Comments
 (0)