Skip to content

This is the basic project bundle demo webpack, You can use input, output many .html, .css, .js

License

Notifications You must be signed in to change notification settings

crazychicken/webpack-basic-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WEBPACK BASIC BUILD

Documentation WEB

The first setup

USE MAC WITH NODE.JS

Install NODEJS, NPM for terminal or iterm

nodejs https://nodejs.org/static/images/logo.svg

https://nodejs.org/en/ $ node --version v6.11.0

npm https://www.npmjs.com/ $ npm --version 3.10.10

Step 2 Global Installation

npm install -g webpack npm install -g webpack-cli

$ webpack --version 4.4.1

npm install --save-dev webpack npm install --save-dev webpack@

Step 3

If you use Sass, you can also install Sass using npm by running npm install -g sass http://sass-lang.com/install sass --version Sass 3.4.24 (Selective Steve)

Step 4

git clone git@github.com:crazychicken/webpack-basic-bundle.git

Step 5

cd path/webpack-basic-bundle

find package.json

npm install or npm i

Pedding with coffee ...

Step 6

run webpack-dev-server npm start

run build path dist folder npm run build

If you want setup your config, You can view more here.

https://webpack.js.org/guides/

About

This is the basic project bundle demo webpack, You can use input, output many .html, .css, .js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published