-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed398b8
commit f19cc54
Showing
3 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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 | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
### Development Build | ||
|
||
```bash | ||
npm run build-dev | ||
``` | ||
|
||
### Development Build, watching for file changes | ||
|
||
```bash | ||
npm run watch | ||
``` | ||
|
||
### Development Server on port :8080 | ||
|
||
```bash | ||
npm start | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters