How to use the webpack-simple.makeWebpackConfig function in webpack-simple

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 2 years ago

Package Health Score

42 / 100
Full package analysis

Popular webpack-simple functions