ZSkycat
ZSkycat
I face similar issue with webpack-cli. ``` ts-node --project ./tool/tsconfig.json ./node_modules/webpack/bin/webpack.js --config ./tool/config.webpack.prod.ts ``` I modify the config file path with ts-node. But webpack-cli re-register ts-node. When CWD equals `./`,...
@blakeembrey I don't know how to use it (environment variables). and it makes the command longer. https://github.com/dividab/tsconfig-paths/issues/48 So, I use it in a strange way. `cd tool && webpack --config...
@blakeembrey I have a suggestion for how this could be detected ```js export function isRegistered(){ return require.extensions['.ts'] != undefined || require.extensions['.tsx'] != undefined; } ``` Maybe I should create PR?...
I think, whether it is "ts-node" or anything else. They register the extension '.ts' or '.tsx'. "ts-node" re-register will cause problems Of course, We also have a way to detect...
@nailfar This will make the hot update not work
This is the two methods I tried, but there are still problems. https://github.com/TypeStrong/ts-loader/issues/826 And a another way: Type conversion of vue components with additional `ts` files. file list ``` Hello.vue...
@yyx990803 It is probably a good idea to allow vue-loader to use the ts file as an entry point. about `webpack.module.rules` We can use double extensions to avoid affecting normal...
I found a more appropriate method. (https://github.com/TypeStrong/ts-loader/issues/826#issuecomment-416828492) We only need to spoof the IDE's language service to achieve the goal. For example: Demonstrates Repository: https://github.com/ZSkycat/issue-ts-loader-20180829/tree/better Hello.vue ``` Hello ``` Hello.vue.ts...
我觉得可以生成一个重命名脚本(bat or bash)用户自己执行就好了 另外个人需要的命名规则是 YYYYMMDD {title},可能需要提供多种模式了
> 官方的限制是绕不过去的,文件格式被官方限制,我们只能随机改后缀咯~ 如果你感兴趣可以回顾一下以前的 issue,我们和官方拉扯了很久,最后导致了分卷压缩文件被官方ban了,连带 abc.xxx.yy 这种文件名都会被ban,某些正常文件如此命名可能被官方误杀🤷♂️ 请问试过分割文件+全部zip打包了吗?这样包名随便起什么都好,也不影响工具以外的用户使用。