An open API service indexing awesome lists of open source software.

https://github.com/spacejack/mithril-webpack-ts

Mithril, Webpack, Typescript, SASS Starter Projects
https://github.com/spacejack/mithril-webpack-ts

Last synced: 3 months ago
JSON representation

Mithril, Webpack, Typescript, SASS Starter Projects

Awesome Lists containing this project

README

        

# Mithril / Webpack / Typescript / SASS Example

This repo has 3 branches. Use `git checkout [branchname]` to use one of the following:

* **master** Mithril, Webpack, Typescript, SASS
* **postcss** Mithril, Webpack, Typescript, PostCSS
* **sass-postcss** Mithril, Webpack, Typescript, SASS & PostCSS

Note that each branch has different dependencies, so you may need to re-run `npm install` when switching branches.

## Installation:

npm install

### Recommended:

* **editorconfig** VSCode extension
* **eslint** VSCode extension
* **tslint** VSCode extension
* **stylelint** VSCode extension

## Start:

npm start

Then go to http://localhost:3000/ in your browser.

## Build minified

npm run build

Outputs to the `public` directory.

## References

* [Beginner's Guide to Webpack 2.0](https://medium.com/@wesharehoodies/simple-beginner-guide-for-webpack-2-0-from-scratch-part-v-495dba627718)
* [Webpack Hot-reload CSS Modules](https://60devs.com/webpack-hot-reload-css-modules.html)