forked from udacity/fend-webpack-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
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
b5c5265
commit a20803d
Showing
1 changed file
with
8 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Webbpack Express Example App | ||
# Webbpack Express With Sass Example App | ||
|
||
The goal of this repo is be an example of a basic but functional app built on Express and Webpack. | ||
|
||
|
@@ -8,12 +8,10 @@ If you want to follow along, start from branch 0-initial-setup. Each branch in t | |
|
||
We will cover: | ||
|
||
- Webpack entry point | ||
- Webpack output and dist folder | ||
- Webpack Loaders | ||
- Webpack Plugins | ||
- Webpack Mode | ||
- Tools for convenient Webpack development | ||
- Transpiling Sass to CSS using Webpack | ||
- Fixing Javascript event errors | ||
- Building a better production config for Webpack | ||
- Adding Service Workers to our app using Webpack | ||
|
||
## Get Up and Running | ||
|
||
|
@@ -25,5 +23,6 @@ git clone -- [email protected]:[your-user-name]/webpack-express.git -- | |
|
||
`cd` into your new folder and run: | ||
- ```npm install``` | ||
- ```npm start``` to start the app | ||
- this app runs on localhost:8080, but you can of course edit that in server.js | ||
- ```npm run build-dev``` to start the webpack dev server | ||
- ```npm run build-prod``` to generate a dist folder for prod | ||
- ```npm start``` to run the Express server on port 8081 |