hammer
esbuild-loader
hammer | esbuild-loader | |
---|---|---|
9 | 14 | |
232 | 3,521 | |
- | 0.7% | |
3.1 | 7.8 | |
7 months 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.
hammer
-
How to setup a monorepo where building is not necessary for individual packages, just the main one?
NX repositories build slower, drop 1000's of dependencies in your project and has configurations so verbose you need vscode plugins to drive it (also I didn't like that I had to drop in project scaffolding templates to provision new library or application types). I disliked using it so much I went ahead and built this thing https://github.com/sinclairzx81/hammer.
-
What is your workflow when developing with typescript?
My development workflow is principally based on https://github.com/sinclairzx81/hammer which is esbuild tooling I wrote myself. I think these days, if you're using TS and want the rapid development workflow, anything that is leveraging esbuild or swc under the hood will be a good thing to pick. So Vite ticks the esbuild box.
-
Best tooling for Typescript now days
I use https://github.com/sinclairzx81/hammer. It provides watch / reload workflows for both node and browser development and it scales from single applications into large mono repository projects. It takes one dependency (esbuild) and needs next to no configuration to use.
- Typescript monorepo with component library help!
-
Advice on build scripts and tooling
I gave up on community build tooling and ended up rolling my own tools. https://github.com/sinclairzx81/hammer. It's difficult to find any tooling in the community that does all the things you may need it to. I found by investing the time into developing tools to align to my workflows, I'm free to modify those tools without getting bogged down in ecosystem plugins, or arcane configurations, or whatever else.
-
Practising typescript without framework?
If you just want to get going, you can try https://github.com/sinclairzx81/hammer, (disclaimer I wrote this), or https://parceljs.org/ . Both are zero configuration and will allow you to add in frameworks as you need them (rather than relying on the kitchen sink project bootstrappers like create-react-app).
- Hammer: A build tool for node and browser applications
- Hammer: Using esbuild to create better tools for the web
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?
lightproxy - 💎 Cross platform Web debugging proxy
ts-loader - TypeScript loader for webpack
sidewinder - Type Safe Micro Services for Node
vite - Next generation frontend tooling. It's fast!
bundlejs - An online tool to quickly bundle & minify your projects, while viewing the compressed bundle size, all running locally on your browser. A quick and easy way to bundle, minify, and compress (gzip and brotli) your ts, js, jsx and npm projects all online, with the bundle file size.
vite-plugin-vue2 - Vue2 plugin for Vite
rules_nodejs - NodeJS toolchain for Bazel.
Next.js - The React Framework
parcel - The zero configuration build tool for the web. 📦🚀
purgecss - Remove unused CSS
blog.cnc4me.org - Excerpts from the development of the virtual Fanuc Macro B runtime and the accompanying Macro Playground
source-map-explorer - Analyze and debug space usage through source maps