sirmerimre / webpack-starters

Webpack starters for making new projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack Starters for reference

A collection of different Webpack setups for quick referencing or starting from.

Each branch has a different setup for the named purpose, such as typescript showing a TypeScript variation.

NOTE: Typically the dist or public folder is ignored in git, but for demonstrations purposes I've left it tracked.

Start using for a new project, or playground

  1. Clone the repo
  2. Select the branch you want
  3. Run npm i to install dependencies
  4. Run one of the following commands, depending on intent:

Production Build

npm run build

Development Build

npm run build-dev

Development Build, watching for file changes

npm run watch

Development Server on port :8080

npm start

See output without browser

After running a build command, you can see the output without opening a browser by running:

node dist/main.js

About

Webpack starters for making new projects


Languages

Language:JavaScript 100.0%