Pet project for bundling es-modules for modern browsers and SystemJs-modules for IE10 (and other). No Webpack or Rollup using, but warm tube Gulp ;)
Run project: npm run deploy
&& npm run www
or npm run deploy.dev
&& npm run www.dev
Run jest tests: npm run test
"Without bundlers" idea came from native "outFile" option of tsconfig.json But "outFile" option can be used only for SystemJs and AMD "module".
It is very simple tool and it's used in our legacy project, which isn't hurry for bells & whistles ;)
ES-modules reduced SystemJS popularity, therefore web is full of articles about SystemJS 0.xx configuration and almost nothing about actual 5.0 version! If you want to use older one, just use 0.19 because of typescript issue.
SystemJS 6.x have upgrade blocked error, so 5.0
Because I want to write code which will be easy to migrate to Vue 3.0
Relative paths are like a hell!
Because of we have legacy .Net project on typescript, and need to start migrate to Vue, and if we already have native transpiler tsc from Microsoft which supports outFile bundling feature from tsconfig. Why we need another bundler such as webpack or rollup?! outFile feature supported only for SystemJS or AMD modules, that's why this project based on SystemJS and not need in .vue overengineering (even with @vue/test-utils).
Because I have SystemJs bundle from the box (but needs to fix it in my project).
No.
- 2016/03/19 You may not need Webpack by Ville M. Vainio
- 2017/06/06 Vue + TypeScript Without a Module Bundler by Shawn Wildermuth
- 2018/09/10 Building VueJS Applications with TypeScript by George Hanson
- 2018/11/01 Modern Javascript Without a Bundler by Matt Allan
- Using ttypescript-transformers Ttypescript last updated to 1.5.10: 2020/01/08
- Way to add the '.js' file extension
- .js removed since SystemJS v0.20 & TSC is outputting invalid ES module code (that's why I need to fix imports manually)
- eslint-config-airbnb-typescript due to 7.0 is using poor performance typescript-eslint 2.0
- systemjs since 6.0 has error #2016