Functional building blocks for your webpack config, easier way to configure webpack, and to share configuration between projects. Ready to use blocks to configure popular tools like Babel, PostCSS, Sass, TypeScript, etc., as well as best practices like extracting CSS, all with just one line of configuration. All blocks, like babel or postcss are also available as their own small packages, webpack-blocks package wraps these blocks, shorthand setters, and helpers as a single dependency for convenience. If we use myCssLoader in match() then context.the match will be populated with whatever we set in the match(). Otherwise, there is still the test: /\.css$/ fallback, so our block will work without a match() as well. Shorthand setters give you easier access to common webpack settings, like plugins, entry points, and source maps.

Features

  • Helpers allow you to structure your config and define settings for particular environments
  • Shorthand setters gives you easier access to common webpack settings, like plugins, entry points and source maps
  • Write and publish your own webpack blocks
  • Uniformity for easy composition
  • Keep everything configurable
  • Extensibility first

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow webpack-blocks

webpack-blocks Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of webpack-blocks!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2022-04-06