We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import { join } from 'path'; import { defineConfig } from 'vite'; import { VitePluginNode } from 'vite-plugin-node'; export default defineConfig({ server: { port: 3000, }, plugins: [ ...VitePluginNode({ adapter: 'express', appPath: './index.ts', exportName: 'viteNodeApp', tsCompiler: 'esbuild', swcOptions: {}, }), ], });
error during build: Error: Cannot find module '@swc/core'
could you temporarily fix it by changing this line until it's fixed?
vite-plugin-node/package.json
Line 44 in 809f465
The text was updated successfully, but these errors were encountered:
Well but it is optional... for instance if you don't use it, you shouldn't have to install it.
Edit: I suppose it should be in optionalDependencies too, that's my bad.
optionalDependencies
Sorry, something went wrong.
fixed in 1.0.0 by lazy loading the module
1.0.0
No branches or pull requests
could you temporarily fix it by changing this line until it's fixed?
vite-plugin-node/package.json
Line 44 in 809f465
The text was updated successfully, but these errors were encountered: