justkey007 / tsc-alias

Replace alias paths with relative paths after typescript compilation
MIT License
876 stars 63 forks source link

.css files cannot escape alias files #222

Open Pillow9898 opened 3 months ago

Pillow9898 commented 3 months ago

"baseUrl": ".", "paths": { "@/": ["src/"] } }, "include": ["src"], "exclude": ["node_modules"],

"tsc-alias": { "verbose": true, "debug": true, "resolveFullPaths": true, "resolveFullExtension": [".css"] }

import foo from '@/a'; import * as ppp from '@/json/ppp.json'; import "@/css/test.css";

only .css files cannot escape alias files! How should I change it so that the third import path is supported is also escaped