Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reverb6821/webpack-server
This is my boilerplate that I use in my regular workflow for a webpack dev server for a automatic and real-time compiling
https://github.com/reverb6821/webpack-server
boilerplate github-pages html javascript pugjs sass webpack webpack-merge webpack-pug-sass webserver
Last synced: 4 months ago
JSON representation
This is my boilerplate that I use in my regular workflow for a webpack dev server for a automatic and real-time compiling
- Host: GitHub
- URL: https://github.com/reverb6821/webpack-server
- Owner: reverb6821
- License: mit
- Created: 2020-11-22T10:39:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T11:31:52.000Z (about 2 years ago)
- Last Synced: 2024-09-27T08:40:48.304Z (4 months ago)
- Topics: boilerplate, github-pages, html, javascript, pugjs, sass, webpack, webpack-merge, webpack-pug-sass, webserver
- Language: JavaScript
- Homepage: https://reverb6821.github.io/
- Size: 19.1 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
# What is
This is my boilerplate that I use in my regular workflow for a webpack dev server for a automatic and real-time compiling
# Project structure
```
.
├── config
│ ├── webpack.common
│ ├── webpack.dev
│ └── webpack.prod
├── src
│ ├── assets
│ | ├── fonts
│ | └── images
│ ├── js
│ ├── pug
│ | ├── base
│ | ├── partials
│ | └── pages
│ ├── styles
│ | ├── base
│ | ├── components
│ | ├── layouts
│ | ├── pages
│ | └── styles
├── README.md
└── package.json```
All files are in the src folder, it includes assest, css, images, js, sass and pug folders.
- assets : some static files, e.g. fonts, svg ...etc.
- js : entry point index.js is here, and you also can put other customize js files
- styles : put your sass files here, you can manage this folder structure for your own
- pug : pug template files, you can use a different layout for extendsThe file in config folder are webpack 5.x config setting, to handle Pug + Sass into HTML files.
# Getting started
You can clone this repo or fork it.
If you fork it, when you create a new repo select this as starting template