Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asledgehammer/mallet
https://github.com/asledgehammer/mallet
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/asledgehammer/mallet
- Owner: asledgehammer
- Created: 2024-04-20T23:28:00.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T03:22:26.000Z (6 months ago)
- Last Synced: 2024-05-23T04:45:00.803Z (6 months ago)
- Language: JavaScript
- Size: 5.22 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
TypeScript is good. But the supporting infrastructure around it is bloated and overengineered.
Don't spend your time seting up frameworks or packaging libraries just to make
your TypeScirpt to work in Browser. No need for overingeenered and bloated shit like WebPack,
Babel, Require.JS, System.JS etc.TypeScript can produce the build all by itself. Use this repo as an example.
Run
===- Clone repository
- `npm install`
- Open terminal and type `npm run build-and-watch`
- Open another terminal tab and type `npm run server`
- Open Browser http://localhost:8080Details
=======- Yes, you may need WebPack in complex cases to produce optimised build.
- TypeScript produces the build but not the loader. For some strange reason TypeScript Team
refuses to add 10 lines required for the Loader. That's why those 10 lines of code provided
separately.
- Your 10 lines loader don't implement full AMD spec! Yes, because - fuck AMD spec. I need
to make my small TypeScript project work without spending my valuable time on outdated and overingeenered shit like full AMD spec.