next-export-optimize-images
esbuild-loader
Our great sponsors
next-export-optimize-images | esbuild-loader | |
---|---|---|
3 | 14 | |
351 | 3,519 | |
- | 0.9% | |
9.5 | 7.8 | |
2 days ago | 6 days ago | |
TypeScript | 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.
next-export-optimize-images
-
How can I optimize NextJS static export for Cloudflare Pages?
Hi there, I'd like to host my static export of NextJS in Cloudflare Pages but as you know, the static export loses a lot of features like image optimization. Are there workarounds to further optimize NextJS static builds for Cloudflare Pages? For example there's a repo that optimizes images at build time: next-export-optimize-images - but is there something more that you could use?
-
Is Next.js SSG?
I had the same issue when switching from Gatsby. I've found this package that optimizes images at build time, but didn't have the time to play with it yet.
-
How to optimize images at build (export) time using next/image
View on GitHub
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?
next-image-export-optimizer - Use Next.js advanced <Image/> component with the static export functionality. Optimizes all static images in an additional step after the Next.js static export.
ts-loader - TypeScript loader for webpack
vite - Next generation frontend tooling. It's fast!
vite-plugin-vue2 - Vue2 plugin for Vite
Next.js - The React Framework
purgecss - Remove unused CSS
source-map-explorer - Analyze and debug space usage through source maps
webpack-dev-server - Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/.
esbuild - An extremely fast bundler for the web
vike - 🔨 Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin.
PostCSS - Transforming styles with JS plugins
SvelteKit - web development, streamlined