.js|.ts 中不生效
yee94 opened this issue · comments
{
test: /\.(js|vue|ts)$/,
loader: 'vue-pretty-logger',
include: [
resolve('src'),
]
},
我在webpack中这样设置了,在.vue文件中正常显示,但在.js或者.ts中无效
目前 vue-pretty-logger
仅针对 .vue
文件生效,后期会加上对 .js
文件的支持
目前 vue-pretty-logger
已经支持针对 js
文件的解析,暂时不考虑对 ts
文件进行解析,可以如下使用
{
test: /\.js$/,
use: ['babel-loader', 'vue-pretty-logger/lib/in-js']
}
谢谢反馈,请使用 V0.9.0
版本