Open osdevisnot opened 9 years ago
+1
we can make one for sure
+1
+1
:+1:
+1
I'm plan to make yoman generator (only for webpack just for now) for this starter, since maintaining multiple branches is not so handy. I will add typescript as option.
@fesor when do you think your work will have done?
@colinshen you mean production ready? I'll try to prepare some raw prototype on weekend, and then will see.
@fesor cool~~thanks for your work
Any news about typescript? I need to use typescript instead of ES6 and I can't make it work. Thanks
@darkange69 you can just replace babel loader to ts-loader. Since typescript is compatible with es2015/es2016 you don't need to change anything. Only remove babel polyfil from gulpfile.babel.js
.
Maybe a fork with custom config to support typescript is needed ?
Has anyone got it working? I tried a lot and still having some errors. Now it says that can't resolve './app.component'
this is my tsconfig.json:
{ "compilerOptions": { "target": "es5", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "typeRoots": ["node_modules/@types/"] }, "compileOnSave": false, "filesGlob": [ "src/**/*.ts", "src/**/*.tsx", "!node_modules/**" ] }
This repo serves as a good starting point setting up a project. Any chance we could see typescript as webpack loader instead of Babel?