google / postcss-rename

Replace class names based on a customizable renaming scheme.
Apache License 2.0
125 stars 18 forks source link

Don't use import path aliases #18

Closed rzhw closed 4 years ago

rzhw commented 4 years ago

Instead use relative imports. This fixes built .d.ts files, which retain path aliases even though the alias isn't set up in the build output.

The path alias was previously set up in the process of prototyping this project because I ran into errors in Visual Studio Code with detecting relative imports. This seems to be resolved now.