Simple website with typescript and webpack without any app (angular/react/vue/...).
.
├── package.json
├── tsconfig.json
├── webpack.config.js
│
├── src/
│ ├── html/index.html
│ └── ts/main.ts
│
└── build/
- File package.json: Configuration of project and dependencies
- File tsconfig.json: Configuration of typescript
- File webpack.config.js: Configuration of webpack (build, run, ...)
- Directory build: Output of project (html, js, ...)
- Directory src/html: Static files of project (*.html)
- Directory src/ts: Code files of project (*.html)
npm install
npm start
Now, open internet browser and show site.
- Clone project
- Add your dependencies
- Create/Change html file or ts files
- See result