diff options
author | 2021-11-09 12:57:43 -0500 | |
---|---|---|
committer | 2021-11-09 12:57:43 -0500 | |
commit | ba38147ccc88db2930d9e15af955ea264d75240e (patch) | |
tree | c48571aae53461d0df5a7f93544eb42392b52aad /examples/with-markdown-plugins/src | |
parent | 7acf762c120a38a3cef4af597c116f0c37147311 (diff) | |
download | astro-ba38147ccc88db2930d9e15af955ea264d75240e.tar.gz astro-ba38147ccc88db2930d9e15af955ea264d75240e.tar.zst astro-ba38147ccc88db2930d9e15af955ea264d75240e.zip |
Support tsconfig.json & jsconfig.json aliases (#1747)
* Resolve paths from tsconfig or jsconfig
https://code.visualstudio.com/docs/languages/jsconfig
https://nextjs.org/docs/advanced-features/module-path-aliases
* edit: rename plugin to `@astrojs/vite-plugin-tsconfig-alias`
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* edit: switch from `ps` to `path.posix`
* edit: move sanitization of paths to loop
* edit: rename `resolveConfigPaths` to `configAliasVitePlugin`
* edit: update implementation based on feedback
* prettier
* edit: rename `matchTailingAsterisk` to `matchTrailingAsterisk`
* edit: cleanup with comments
* edit: spellcheck `condition` to `conditionally`
* edit: refactor based on feedback
* edit: Update README.md
* edit: cleanup baseUrl transformation and add explainer comments
* edit: cleanup resolutions and add commenting
* yarn lint
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Diffstat (limited to 'examples/with-markdown-plugins/src')
0 files changed, 0 insertions, 0 deletions