Closed
Description
Thanks for building ts-loader for webpack! I wonder whether ts-loader can support vue.js' single file component.
Related issue in vue-loader
vuejs/vue-loader#109
The current problem is ts-loader cannot resolve files with extension name .vue
. However, TypeScript compiler supports customizing module resolution.
Since ts-loader has already implemented a custom resolveModuleNames
function, supporting it is feasible.
I tried locally and it works. However I'm a newbie to webpack and I think my try is dirty and hacky...
Do you have any good ideas? I'm happy to implement them.