Plugin and Loader for webpack to optimize (compress) all images using imagemin. Do not worry about size of images, now they are always optimized/compressed. No extra dependencies (imagemin-gifsicle, imagemin-pngquant) in dependencies section into package.json. You decide for yourself what plugins to use.
https://github.com/itgalaxy/imagemin-webpackTags | imagemin webpack webpack-loader webpack-plugin loader image-optimization plugin images minify compress optimize |
Implementation | Javascript |
License | MIT |
Platform | NodeJS |
This is a simple plugin that uses Imagemin to compress all images in your project. This plugin will only run on files that match this test. This is similar to the webpack loader test option (but is not using the same implementation, so there might be major differences!). This can either be a RegExp object, a minimatch glob, a function which gets the filename and returns true if the file should be minified, or an array of any of them.
Issues with the output should be reported on the imagemin issue tracker.
This is the typescript loader for webpack. We have a number of example setups to accomodate different workflows. From "vanilla" ts-loader, to using ts-loader in combination with babel for transpilation, happypack or thread-loader for faster builds and fork-ts-checker-webpack-plugin for performing type checking in a separate process. Not forgetting Hot Module Replacement. Our examples can be found here.
typescript webpack-loader ts-loader typescript-loader webpack loader tsA loader for webpack, rollup, babel that loads svg as a React Component
react svgo svg webpack-loader babel-plugin svg-loader rollup-plugin loader react-svg-loader webpackSince plugin was published, there were a lot of changes in testing software. Be sure in most(all) cases you DON'T need this plugin for testing. I highly recommend you to use jest for testing, and use moduleNameMapper (identity-obj-proxy, etc) to mock CSS-Modules and other webpack loaders. This Babel 6 plugin allows you to use webpack loaders in Babel. It's now easy to run universal apps on the server without additional build steps, to create libraries as usual with babel src --out-dir lib command, to run tests without mocking-prebuilding source code. It just replaces require - import statements with webpack loaders results. Take a look at this Babel build output diff to get the idea.
babel webpack loader css-modules css-loaderThis module requires a minimum of Node v6.9.0 and webpack v4.0.0. Both stylelint-loader and this module have their uses. stylelint-loader lints the files you require (or the ones you define as an entry in your webpack config). However, @imports in files are not followed, meaning only the main file for each require/entry is linted.
stylelint webpack lint linter node-sass plugin webpack-pluginA webpack loader that moves a module and its dependencies into a Web Worker, automatically reflecting exported functions as asynchronous proxies.
webpack-loader webpack-plugin webpack worker web-worker loader thread workerizeThis is a webpack plugin that simplifies creation of HTML files to serve your webpack bundles. This is especially useful for webpack bundles that include a hash in the filename which changes every compilation. You can either let the plugin generate an HTML file for you, supply your own template using lodash templates or use your own loader. The html-webpack-plugin works without configuration. It's a great addition to the โ๏ธ webpack-config-plugins.
html-webpack-plugin webpack plugin htmlWebpack loader for creating SVG sprites. ๐ 2.0 is out, please read the migration guide & overview.
svg svg-sprite svg-stack webpack webpack2 webpack3 webpack-loader webpack-plugin spriteWebpack loader for creating SVG sprites. ๐ 2.0 is out, please read the migration guide & overview.
svg webpack webpack-plugin webpack-loader webpack2 sprite svg-sprite svg-stack webpack3Loads a Sass/SCSS file and compiles it to CSS. Use the css-loader or the raw-loader to turn it into a JS module and the mini-css-extract-plugin to extract it into a separate file. Looking for the webpack 1 loader? Check out the archive/webpack-1 branch.
webpack-loader sass libsass webpack loaderIncludes your AngularJS templates into your webpack Javascript Bundle. Pre-loads the AngularJS template cache to remove initial load times of templates. ngTemplate loader does not minify or process your HTML at all, and instead uses the standard loaders such as html-loader or raw-loader. This gives you the flexibility to pick and choose your HTML loaders.
webpack angularjs loaderOptimize your code for modern browsers while still supporting the other 10%, increasing your build performance, reducing bundle size and improving output quality. Put simply: it compiles code faster, better and smaller.
webpack webpack-plugin modern-javascript plugin minify optimizeClosure Compiler is the most advanced JavaScript optimization tool. It generates smallest bundle and emits efficient JavaScript code by doing whole program analysis and optimization, removing closures and inlining function calls, as well as tree-shaking for AMD, CommonJS and ES2015 modules. While there's JavaScript version of Closure Compiler, the original compiler is written in Java and thus Java version is more complete and performs better in terms of JavaScript code optimizations and compilation speed. If you want to use Java-based compiler, make sure you have installed Java SDK.
closure-compiler webpack-closure-compiler optimization tree-shaking webpack closure compiler build optimize dead code pluginPS: The large image file will be emitted & only 400byte of Base64 (if set to true in the loader options) will be bundled. To save memory and improve GPU performance, browsers (including Chrome started from 61.0.3163.38) will now render a slightly more crisp or pixelated Base64 encoded images.
webpack blurry images base64 image loader medium lazy loadminifyOpts are passed on to babel-preset-minify. You can find a list of all available options in the package directory.
babel-minify webpack-plugin babel webpack minifyCSS style loader for Webpack that works similarly to style-loader, but is optimized for critical path CSS rendering and also works great in the context of isomorphic apps. It provides two helper methods on to the styles object - ._insertCss() (injects CSS into the DOM) and ._getCss() (returns a CSS string).Note: Configuration is the same for both client-side and server-side bundles. For more information visit https://webpack.js.org/configuration/module/.
webpack webpack-loader loader css scss style styles style-loader react reactjs isomorphic universal critical-css critical-path-cssPainless universal prerendering for Webpack. Works great with html-webpack-plugin. Pre-rendering describes the process of rendering a client-side application at build time, producing useful static HTML that can be sent to the browser instead of an empty bootstrapping page.
webpack prerender pre-rendering pre-render prerendering webpack-plugin ssr performance first-contentful-paint fcpWebpack loader for the Elm programming language. It is aware of Elm dependencies and tracks them. This means that in --watch mode, if you require an Elm module from a Webpack entry point, not only will that .elm file be watched for changes, but any other Elm modules it imports will be watched for changes as well.
elm webpack loaderA loader for webpack which transforms files into base64 URIs. This module requires a minimum of Node v6.9.0 and Webpack v4.0.0.
webpack-loader webpack
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.