rollup-plugin-delete | Delete files and folders using Rollup | Plugin library
kandi X-RAY | rollup-plugin-delete Summary
kandi X-RAY | rollup-plugin-delete Summary
This plugin is useful when you want to clean dist or other folders and files before bundling. It's using del package inside, check it for pattern examples.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rollup-plugin-delete
rollup-plugin-delete Key Features
rollup-plugin-delete Examples and Code Snippets
Community Discussions
Trending Discussions on rollup-plugin-delete
QUESTION
I want to import a svelte component in a typescript svelte component, it works for typescript file and other type of files, but in this case of svelte component, it resulted in a path error, here's my code :
...ANSWER
Answered 2020-Dec-12 at 18:47You are using baseUrl
, which means some kind of path aliasing is introduced in the code. @rollup/plugin-typescript
does not resolve these, so you need an extra step afterwards. You can use @rollup/plugin-alias
for that.
Updated rollup.config.js:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rollup-plugin-delete
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page