matchatype / webpack-autoconf

A tool to create webpack configs

Home Page:https://webpack.jakoblind.no/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack autoconf

A tool to create personalized and optimized webpack.config.js. Creating a webpack project should be simple for everyone!

This tool is available both as CLI and as a online web tool.

Check out this tool in action

CLI

Usage: webpack-autoconf new [project-name] [features]

Where [features] can be any combination of:

  • React
  • Vue
  • CSS
  • Sass
  • Less
  • stylus
  • SVG
  • PNG
  • moment
  • lodash

Example: webpack-autoconf new myProject React PNG

A complete project is created containing webpack.config.js, package.json, "hello world" source files, and if required a .babelrc.

Build CLI on your machine

npm run cli-build

Then you can run it with

node bin/webpack-autoconf.js

Run web version locally

Make sure you use NPM 8 or later

npm install
gatsby develop

Point your browser to http://localhost:8000

Contributing

If you have an idea for a new feature, please create an issue or participate in an existing issue. PRs are also very much welcome!

About

A tool to create webpack configs

https://webpack.jakoblind.no/


Languages

Language:JavaScript 90.9%Language:CSS 9.0%Language:Shell 0.1%