package
CLI for scaffolding webpack projects using default config, framework templates, loader or plugins templates
npm install create-webpack-appGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
create-webpack-app is a cli tool that enables developers to scaffold a new webpack project quickly. It provides developers with a flexible set of commands to increase speed when setting up a custom webpack project. webpack CLI addresses these needs by providing tools to improve the setup of custom webpack configuration.npx create-webpack-app [command] [options]init (also used by default when nothing specified) - project generatorloader - loader generatorplugin - plugin generatorTo generate default template
npx create-webpack-appTo generate with default answers
npx create-webpack-app -for
npx create-webpack-app --forceTo generate in a specified path
npx create-webpack-app [generation-path]To generate a project according to a template
npx create-webpack-app --template <template-name>Available templates:
default (used by default when nothing specified) - generate a basic template for JS(TS)/CSS/HTML without any frameworksreactvuesvelteEvery template scaffolds index.html as the entry point of the project and relies on
webpack's built-in HTML and CSS support (webpack >= 5.109), so the generated projects
carry no html-webpack-plugin, css-loader, style-loader or mini-css-extract-plugin.
Picking Sass, Less, Stylus or PostCSS adds only that tool's loader on top.
Available templates for loader and plugin generators:
default (used by default when nothing specified) - generate bootstrap codeev1stensberg
evenstensberg@gmail.com
Estimated unpacked size across 44 packages.
6.1 MB
Includes dependencies.
7 direct · 1 outdated
^7.0.2
7.0.2
^2.0.20
2.0.20
^14.0.3
15.1.0
^0.32.3
0.32.3
^7.0.6
7.0.6
^5.1.7
5.2.0
^5.2.7
5.3.0