You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2022. It is now read-only.
{"extends": "mybase.tsconfig.json",// Not actual filename"compilerOptions": {"baseUrl": "./","paths": {// I actually had a comment in the file there, because I desire a different path, eventually...// and TypeScript supports comments in tsconfig files (JSONC, or JSON with Comments)// but Craco-Alias does not :'("@myscope/*": "./packages/myscope/*"}}}
But as you can see from the comment in the file above, Craco-Alias does not support Json with Comments, even though that's technically what tsconfig files are. (As you can see when you do tsc --init—you get a file full of comments with a very basic configuration, and tsc happily consumes it.)
The text was updated successfully, but these errors were encountered:
fourpastmidnight
changed the title
Cannot parse valid tsconfig that includes "extends" property
Cannot parse valid tsconfig that includes comments
Aug 4, 2021
I'm currently using Craco-Alias v3.0.1.
I had a very simple tsconfig file:
But as you can see from the comment in the file above, Craco-Alias does not support Json with Comments, even though that's technically what tsconfig files are. (As you can see when you do
tsc --init
—you get a file full of comments with a very basic configuration, andtsc
happily consumes it.)The text was updated successfully, but these errors were encountered: