Skip to content
New issue

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

ESbuild / Vite.js for build #6

Open
cheatsnake opened this issue Feb 28, 2023 · 5 comments
Open

ESbuild / Vite.js for build #6

cheatsnake opened this issue Feb 28, 2023 · 5 comments

Comments

@cheatsnake
Copy link

cheatsnake commented Feb 28, 2023

ESbuild / Vite.js were not mentioned in the row about builders, although they are already often used (especially in new projects).

@cheatsnake cheatsnake changed the title ESbuild / VIte.js for build ESbuild / Vite.js for build Feb 28, 2023
@tshemsedinov
Copy link
Member

Мы пока не использовали, как доберемся до фронта на курсе по ноде, то сравним

@VladyslavSpasibozhko
Copy link

I agree with @cheatsnake. Vite much faster then Webpack and can be used with Vue, React. In new projects Vite is preferred way to build project instead of using Webpack.

@letavocado
Copy link

@cheatsnake, @VladyslavSpasibozhko

ESbuild can't top level await
Vite.js used for frontend

Feel free to correct me. 😄

Cheers!

@Pakistanka
Copy link

@VladyslavSpasibozhko Подскажите, в итоге удалось как-то vite и lucid сконфигурировать? Я не могу решить top-level ошибку и еще несколько

@letavocado
Copy link

@Pakistanka
top-level await в vite
mozilla/pdf.js#17245 (comment)

{
  build: {
    target: "es2022"
  },
  esbuild: {
    target: "es2022"
  },
  optimizeDeps:{
    esbuildOptions: {
      target: "es2022",
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants