https://github.com/repalash/webpack-typescript-boilerplate
webpack 4 typescript boilerplate html5 starter template for webstorm/vscode, with hot reloading, intellij javascript debug configuration.
https://github.com/repalash/webpack-typescript-boilerplate
Last synced: 9 months ago
JSON representation
webpack 4 typescript boilerplate html5 starter template for webstorm/vscode, with hot reloading, intellij javascript debug configuration.
- Host: GitHub
- URL: https://github.com/repalash/webpack-typescript-boilerplate
- Owner: repalash
- Created: 2020-07-17T09:47:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T14:25:03.000Z (over 5 years ago)
- Last Synced: 2025-01-17T10:12:09.902Z (over 1 year ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpack Typescript Boilerplate
Very simple Webpack 4 Typescript boilerplate html5 starter template kit for webstorm and vscode, with hot reloading, intellij javascript debug configuration.
Just open this project in your IDE and start developing. Write code directly in `src/main.ts` and handle module exports in `src/index.ts`. It is possible to write js-only code like in `sample.js`. The declaration files for these are automatically generated in `dist` by `tsc`.
For IntelliJ IDEs, change the project name by selecting the project in the File Hierarchy and Refactor/Rename project name.
The exported library is `MAIN`. To change this in your project, update constants at the top of `webpack.common.js`.
```
//install dependencies
npm install
//start a dev server to test the project.
npm start
//build a production code and uglifies to generate .min.js in the dist folder.
npm build
```