How to use webpack-simple - 1 common examples

To help you get started, we’ve selected a few webpack-simple examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github helloitsjoe / react-hooks-compose / webpack.config.js View on Github external
const { makeWebpackConfig } = require('webpack-simple');

const config = makeWebpackConfig({
  entry: './src/index.js',
  output: {
    path: `${__dirname}/dist/`,
    filename: `main.js`,
    library: 'react-hooks-compose',
    libraryTarget: 'umd',
  },
  mode: 'production',
  devtool: 'source-map',
  externals: 'react',
});

module.exports = config;

webpack-simple

Webpack Config - Simple defaults, extendable options

ISC
Latest version published 1 year ago

Package Health Score

46 / 100
Full package analysis

Popular webpack-simple functions