Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Simple Webpack4 Starter Kit with TypeScript and SCSS support

Notifications You must be signed in to change notification settings

lisabaut/webpack4-starter-typescript-scss

Repository files navigation

Webpack 5 Starter

This is a simple Webpack 5 Starter Kit including Webpack-Dev-Server and TypeScript and SCSS support.

How to use this starter kit

Installation

Clone this repository and run yarn install to install all dependencies.

Development

Run yarn start to start the Webpack-Dev-Server which opens the index html file and the corresponding transpiled JavaScript and CSS files on localhost:8080.

The Webpack-Dev-Server detects any changes on the source files which can be found in src/ts/ for Typescript, src/sass for SCSS and src/templates for HTML, compiles the files again and reloads the site on localhost:8080 accordingly.

Build

Running yarn build will compile all files and move them in a minified and compressed version to the folder public.

Linting

Run yarn lint to detect (and auto-fix) TypeScript and JavaScript errors.

Run yarn stylelint to detect (and auto-fix) SCSS errors.

About

Simple Webpack4 Starter Kit with TypeScript and SCSS support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published