- A simple webpack 5 template with typescript and babel but without a web framework such as React or Vue.js
@babel/preset-typescript
is used to compile Typescript instead oftsc
, so there is nots-loader
but onlybabel-loader
- Run
npm install
to install all dependencies - Run
./build.sh
to build - Run
./run.sh
to start a local http server, this automatically opens a browser tab with URL http://127.0.0.1/3000 - Modify files under
src
and you can see changes automatically reflected in the browser
- Webpack 5
- Typescript
- Babel
- RxJS
- Sass