Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/paradocx96/webpack-getstarted

Sample project for Webpack bundle process
https://github.com/paradocx96/webpack-getstarted

Last synced: 29 days ago
JSON representation

Sample project for Webpack bundle process

Awesome Lists containing this project

README

        

# Webpack Getting Started

## 1. Install Webpack

```bash
npm install webpack webpack-cli --save-dev
```
```bash
yard add webpack webpack-cli --dev
```

## 2. Create a project structure

```
dist/
index.html
src/
index.js
webpack.config.js
```

## 3. Create a bundle

```bash
npm install lodash --save
```
```bash
yard add lodash
```
```bash
npx webpack
```