Added "typescript-esbuild" as dep in packages.json because astro-compress requires it #288
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
otherwise this error will appear at first npm i
`7:36:26 PM [vite] Error when evaluating SSR module astrowind/astro.config.mjs: failed to import "astro-compress"
|- Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'typescript-esbuild' imported from astrowind/node_modules/astro-compress/Target/Variable/Option.js
at new NodeError (node:internal/errors:406:5)
at packageResolve (node:internal/modules/esm/resolve:789:9)
at moduleResolve (node:internal/modules/esm/resolve:838:20)
at defaultResolve (node:internal/modules/esm/resolve:1043:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
at ModuleLoader.import (node:internal/modules/esm/loader:315:34)
at importModuleDynamically (node:internal/modules/esm/translators:109:35)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:141:14)
[astro] Unable to load your Astro config
error Cannot find package 'typescript-esbuild' imported from astrowind/node_modules/astro-compress/Target/Variable/Option.js
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'typescript-esbuild' imported from astrowind/node_modules/astro-compress/Target/Variable/Option.js
at new NodeError (node:internal/errors:406:5)
at packageResolve (node:internal/modules/esm/resolve:789:9)
at moduleResolve (node:internal/modules/esm/resolve:838:20)
at defaultResolve (node:internal/modules/esm/resolve:1043:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
at ModuleLoader.import (node:internal/modules/esm/loader:315:34)
at importModuleDynamically (node:internal/modules/esm/translators:109:35)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:141:14)`