Frontend build config generator

− Main library
+ UI library
+ Test framework
+ Transpiler
+ Styling
+ Image
+ Utilities
+ Linting
+ Optimization
+ Webpack plugins

  • dist/index.html
  • src/index.js
  • .gitignore
  • README.md
  • package.json
  • webpack.config.js
const webpack = require('webpack');
const path = require('path');

const config = {
  entry: './src/index.js',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js'
  }
};

module.exports = config;

How to create your project yourself

  1. Create an NPM project and install dependencies
  2. Create webpack.config.js in the root and copy the contents of the generated file
  3. Create folders src and dist and create source code files
Need more detailed instructions?