{"id":20706,"library":"webpack-atoms","title":"webpack-atoms","description":"Utility library providing small, composable helpers for crafting webpack 5+ configurations. Current stable version is 17.1.0, with active maintenance and frequent releases. Offers pre-built rule and plugin generators (e.g., rules.js(), plugins.uglify()) and atomic loaders (loaders.style(), loaders.file()), reducing boilerplate and configuration drift. Prioritizes webpack 5 compatibility and lightweight abstraction over full-featured config tools like webpack-merge or webpack-blocks.","status":"active","version":"17.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/jquense/webpack-atoms","tags":["javascript","webpack","webpack2","config","helpers"],"install":[{"cmd":"npm install webpack-atoms","lang":"bash","label":"npm"},{"cmd":"yarn add webpack-atoms","lang":"bash","label":"yarn"},{"cmd":"pnpm add webpack-atoms","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency; required for config generation","package":"webpack","optional":false}],"imports":[{"note":"CommonJS usage; no ESM exports documented","symbol":"rules","correct":"const { rules } = require('webpack-atoms')"},{"note":"CommonJS usage; no ESM exports documented","symbol":"plugins","correct":"const { plugins } = require('webpack-atoms')"},{"note":"CommonJS usage; no ESM exports documented","symbol":"loaders","correct":"const { loaders } = require('webpack-atoms')"}],"quickstart":{"code":"const { rules, plugins, loaders } = require('webpack-atoms');\n\nmodule.exports = {\n  entry: './src/app.js',\n  output: { filename: 'bundle.js', path: __dirname + '/dist' },\n  module: {\n    rules: [\n      rules.js(),\n      rules.images(),\n      rules.css(),\n    ],\n  },\n  plugins: [\n    plugins.uglify(),\n    plugins.loaderOptions(),\n    plugins.extractText(),\n  ],\n};","lang":"javascript","description":"Basic webpack config using rules, plugins, and loaders from webpack-atoms."},"warnings":[{"fix":"Upgrade to webpack 5 or pin to webpack-atoms@14.","message":"Version 15.0.0 dropped support for webpack 4; use webpack-atoms@14 for webpack 4 compatibility.","severity":"breaking","affected_versions":">=15.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install webpack-atoms'","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'webpack-atoms'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}