An open API service indexing awesome lists of open source software.

https://github.com/crazychicken/webpack-basic-bundle

This is the basic project bundle demo webpack, You can use input, output many .html, .css, .js
https://github.com/crazychicken/webpack-basic-bundle

javascript loader-plugin webpack webpack2 webpack3

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

          

### 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/