webpack-atoms
TypeScript icon, indicating that this package has built-in type declarations

17.1.0 • Public • Published

webpack-atoms

Small atomic bits for crafting webpack configs

npm i webpack-atoms

webpack.config

const { rules, plugins, loaders } = require('webpack-atoms');

module.exports = {
  entry: './src/app.js',
  output: {
    /* ... */
  },

  module: {
    rules: [
      rules.js(),
      rules.images(),
      rules.css(),
    ]
  },

  plugins: [
    plugins.uglify(),
    plugins.loaderOptions(),
    plugins.extractText(),
  ]
}

Package Sidebar

Install

npm i webpack-atoms

Weekly Downloads

365

Version

17.1.0

License

MIT

Unpacked Size

63.4 kB

Total Files

14

Last publish

Collaborators

  • monastic.panic