https://github.com/mostafizur044/shoaping_cart_example
https://github.com/mostafizur044/shoaping_cart_example
javascript sass vanila-js webpack
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mostafizur044/shoaping_cart_example
- Owner: mostafizur044
- Created: 2019-06-28T18:28:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T02:22:15.000Z (over 3 years ago)
- Last Synced: 2025-05-07T04:37:44.918Z (about 1 year ago)
- Topics: javascript, sass, vanila-js, webpack
- Language: JavaScript
- Size: 1.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpack Boilerplate
A minimalist Webpack boilerplate to use the latest JavaScript, compile Sass into CSS, and compile Typescript into JavaScript.
## Installation
```bash
git clone git@github.com:taniarascia/webpack-boilerplate.git
cd webpack-boilerplate
npm install
```
## Features
- Babel - transpile the latest JavaScript
- Html Webpack - generate the `index.html` entry point
- Clean Webpack - clean generated `dist` folder
- Hot Module Replacement - only reload the part that has changed
- Webpack Dev Server - launch a local server for development
## Commands
### npm start
> Note: This will not create or affect the `dist` build.
Start development server on `localhost:3005`.
### npm run build
Generate `dist` folder with `app.bundle.js` and `index.html`.
### npm watch
Watch for changes without the live dev server.
## Dependencies
```
npm i -D
@babel/core \
@babel/preset-env \
babel-loader \
clean-webpack-plugin \
css-loader \
html-webpack-plugin \
mini-css-extract-plugin \
node-sass \
postcss-loader \
sass-loader \
style-loader \
ts-loader \
typescript \
webpack \
webpack-cli \
webpack-dev-server \
```