I wanted to use x0 inside of my own typescript projects, but it kinda felt dirty to create a custom _app.js file instead of using TypeScript all along.
The changes i did to make this work are really basic.
The only problem i could see is, that the user must add ts-loader via a custom webpack.config.js. This is kind of contrary to the zero config approach of x0 but i think this is ok for such a quick win.
I wanted to use x0 inside of my own typescript projects, but it kinda felt dirty to create a custom
_app.js
file instead of using TypeScript all along.The changes i did to make this work are really basic.
The only problem i could see is, that the user must add
ts-loader
via a customwebpack.config.js
. This is kind of contrary to the zero config approach of x0 but i think this is ok for such a quick win.What do you think of this approach?