Skip to content

Commit fe6ef3d

Browse files
committed
Update readme with caveat about transpile only
1 parent 27d73a8 commit fe6ef3d

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
@@ -612,3 +612,5 @@ import preprocess from 'svelte-preprocess'
612612
}
613613
...
614614
```
615+
616+
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)