vite-jest
esbuild-loader
vite-jest | esbuild-loader | |
---|---|---|
5 | 14 | |
395 | 3,521 | |
- | 0.7% | |
0.0 | 7.8 | |
over 2 years ago | 7 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vite-jest
-
Was it a mistake to start a really big project with create-react-app?
Even the most official workaround, vite-jest, still has issues to work through, like a lack of Windows support.
-
Migrating from Jest to Vitest
I had originally planned to keep using Jest during the migration of CRA to ViteJS, but I kept running into issues, mainly because Jest support for ES Modules is still experimental. There is a Vite plugin called vite-jest but it's still very much a work in progress.
- Create React App
-
Supercharge Web DX in Svelte way
Then I tried Vite. Vite also supports lots of things out of the box (especially ESM!). Its HMR - hot module replacement is blazing fast. I can also use plugin like vite-jest (switch to esbuild-jest later on) to replace Babel and speed up my tests. This is the first time I have a relatively "GOOD" DX.
- Experiences using Vite for React+Typescript projects?
esbuild-loader
-
Create React App
i see. there are a loaders like https://github.com/privatenumber/esbuild-loader that works with webpack but i haven't given it a try yet.
-
Do you guys compile with ts-loader or babel-loader?
you can use it with webpack didn't try it myself
-
How to speed up webpack with esbuild-loader
If you are a webpack user and have heard about esbuild speed, you may start questioning your js-bundler choices. Luckily, you don't have to drop your hand-crafted webpack config just now. Thanks to esbuild-loader, you can get part of the speed improvement without doing a whole migration.
-
Blazing fast TypeScript with Webpack and ESBuild
esbuild-loader (secret sauce!) fork-ts-checker-webpack-plugin (helps us with typechecking) nodemon-webpack-plugin (We can also use webpack-dev-server)
-
We Switched from Webpack to Vite
For people already on webpack, there's esbuild-loader (https://github.com/privatenumber/esbuild-loader)
-
Speed up Next.js build with Typescript and Tailwind CSS
esbuild is a JS and TS bundler that promises ultra-fast build times. We use webpack, and there is support to leverage esbuild with esbuild-loader.
-
How we sped up our webpack (TailwindCSS) build by 57%
The first thing I did was replace babel-loader and Terser (minification tool) with esbuild-loader. This made our JS compile around 12 times faster, it went down to 1.4 seconds. It was a good start.
-
Use esbuild to speed up your Creat-React-App project
In fact, the create-react-app-esbuild is only an encapsulation of esbuild-loader.
-
Any using snowpack or esbuild or anything to improve nextjs build speeds?
I just started using this: privatenumber/esbuild-loader: ⚡️ Speed up your Webpack build with esbuild (github.com)
-
Show HN: A simple website for my JavaScript bundler
Both would be good to file. I’m happy to investigate myself if you don’t have the time.
One thing to be aware of is that some other tools that integrate esbuild do so incorrectly. For example, the 3rd-party integration of esbuild into Webpack mis-configures esbuild in a way that causes issues with JSX: https://github.com/privatenumber/esbuild-loader/pull/107. This isn’t a problem with esbuild itself.
What are some alternatives?
vite-material-ui - A Vite starter template for React, TypeScript, and MUI
ts-loader - TypeScript loader for webpack
parcel - The zero configuration build tool for the web. 📦🚀
vite - Next generation frontend tooling. It's fast!
svelte-preprocess - A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
vite-plugin-vue2 - Vue2 plugin for Vite
vite-test-example - Example of setting up tests with Vite
Next.js - The React Framework
cookbook - VueJS + NodeJS Evergreen Cookbook
purgecss - Remove unused CSS
wp2vite - 一个让webpack项目支持vite的前端项目的转换工具。A front-end project automatic conversion tool。
source-map-explorer - Analyze and debug space usage through source maps