html-loader
worker-loader
html-loader | worker-loader | |
---|---|---|
1 | 3 | |
1,162 | 1,378 | |
-0.1% | - | |
6.6 | 5.5 | |
14 days ago | over 2 years ago | |
JavaScript | JavaScript | |
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.
html-loader
-
Initial static React HTML rendering with Webpack
I'm actually using webpack-html-loader but any other loader or plugin is welcome ;)
worker-loader
-
Creating a web worker inside React
I have a React app created with create-react-app, not ejected. I'm trying to use web workers. I've tried the worker-loader package (https://github.com/webpack-contrib/worker-loader).
-
Loading web workers using Webpack 5
worker-loader is the pre-webpack-5 way to load web workers, and its documentation highlights how itโs not compatible with webpack 5 (โWorker Loader is a loader for webpack 4โ). Still, in my experience, besides a few quirks, worker-loader can be used with webpack 5, and it offers several more customization options than webpack 5โs built-in web worker support.
-
12 open source browser tools and how I've built them
I was surprised how easy it is to work with web workers in webpack. All you need is worker-loader that will handle all worker bundling for you.
What are some alternatives?
svg-sprite-loader - Webpack loader for creating SVG sprites.
offline-plugin - Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
static-site-generator-webpack-plugin - Minimal, unopinionated static site generator powered by webpack
svgo-browser - svgo fork with interface for browser and additional tweaks for node
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
xooks - General purpose react hooks collection
css-loader - CSS Loader
create-react-app - Set up a modern web app by running one command. [Moved to: https://github.com/facebook/create-react-app]
sass-loader - Compiles Sass to CSS
svgo - โ๏ธ Node.js tool for optimizing SVG files
patch-package - Fix broken node modules instantly ๐๐ฝโโ๏ธ๐จ