Repository navigation
Typescript exclude - how does it work? #1642
|
I have a template folder with .ts files which are of course not valid typescript. Since the its managed via CLI. The challenge is to exclude this folder. I tried in rollup.config.js Both doesn't work. Since im not familiar with the picomatch pattern, i do not really know whats the valid form. Could you provide some guidance? If I put above the error line, the script works. But it feels like the |
Answered by
skoenfaelt
Dec 1, 2023
Replies: 1 comment
|
There was a file which silently has imported one exported interface from the templates folder in a file of the src files. That was the reason why exclude did not work. Removing that import in the src/*.ts file did solve the issue. |
0 replies
Answer selected by
skoenfaelt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There was a file which silently has imported one exported interface from the templates folder in a file of the src files. That was the reason why exclude did not work. Removing that import in the src/*.ts file did solve the issue.