All Projects → jquense → webpack-atoms

jquense / webpack-atoms

Licence: MIT license
Small atomic bits for crafting webpack configs

Programming Languages

typescript
32286 projects
HTML
75241 projects

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(),
  ]
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].