svelte+typeScript build error,The keyword 'interface' is reserved
hengshanMWC opened this issue · 3 comments
hengshanMWC commented
HI~
build error
I want to do an exercise, but I always report mistakes when packing
Steps to Reproduce
- git clone git@github.com:hengshanMWC/svelte-popup.git
- npm i
- npm run build:npm
bluwy commented
You didn't pass the preprocess option in the rollup config. You can import svelte.config.js and pass it like:
import svelteConfig from './svelte.config.js`
// ...
svelte({
preprocess: svelteConfig.preprocess
})dummdidumm commented
Thanks @bluwy for the explanation, closing as this is not related to a bug in this plugin.
hengshanMWC commented
Thanks. @bluwy
