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
@ZBMO has a fork that is up-to-date with master, when it go to src/ui and run npm run custom.dev (from a venv) he get this error.
npm run custom.dev
node v20.10.0 npm 10.2.3
Adding the optimizeDeps.esbuildOptions.target has fixed the issue for @ZBMO
optimizeDeps.esbuildOptions.target
src/ui/vite.config.custom.ts
import vue from "@vitejs/plugin-vue"; import writerPlugin from "./viteWriterPlugin"; export default defineConfig({ base: "./", plugins: [vue(), writerPlugin()], includeWriterComponentPath: false, define: { WRITER_LIVE_CCT: JSON.stringify("yes"), }, publicDir: false, optimizeDeps: { esbuildOptions: { target: "es2022", }, },
The text was updated successfully, but these errors were encountered:
Hey @raaymax we'd like to figure out what's a sustainable solution for this and as our resident JS expert we thought you'd be able to figure this out
Sorry, something went wrong.
raaymax
No branches or pull requests
@ZBMO has a fork that is up-to-date with master, when it go to src/ui and run
npm run custom.dev
(from a venv) he get this error.Solution
Adding the
optimizeDeps.esbuildOptions.target
has fixed the issue for @ZBMOsrc/ui/vite.config.custom.ts
The text was updated successfully, but these errors were encountered: