yelo

Results 47 comments of yelo

To simply avoid this problem, use `npm` (or `yarn`) with custom registry instead of `cnpm` might help: ```bash npm config set registry https://registry.npm.taobao.org/ ``` The underscore before the module name...

Thanks for the feedback. There might be some optional chain protection missing. I just released [2.10.1](https://github.com/imyelo/docsify-pagination/releases/tag/v2.10.1), but I'm unsure if it's been fixed since I couldn't reproduce the issue. Could...

Couldn't agree more and it's already in my plan too. It's just I'm new to TypeScript, so I've recently started experimenting with it in other new projects. As soon as...

Hi @mrbone Is there a `tsconfig.json` in the root directory? I haven't used ts in the mina-project yet actually, but here's [a use case of using it in the separation...

viable idea. I think all we have to do is refactor [this line](https://github.com/tinajs/mina-webpack/blob/a0736fe/packages/mina-loader/lib/loaders/mina-json.js#L110) into an interface if all goes well.

可以重现。目前定位到是在这种场景下用 relative-file-loader 解析路径会有误 https://github.com/ambar/relative-file-loader/blob/7f1222d/src/index.js#L45-L51 context: `/tmp/example/src` outputUrl: `wxml/toolbar.31f03c.wxml` issuerPath: `/tmp/example/node_modules/@vant/weapp/lib/picker` publicPath: `../../../../../src/wxml/toolbar.31f03c.wxml`

可以试试这样绕过,对 node_modules 内的依赖不使用 relative 规则 ```diff { test: /\.wxml$/, + exclude: /node_modules/, use: [ { loader: 'relative-file-loader', options: { name: 'wxml/[name].[hash:6].[ext]', }, }, { loader: '@tinajs/wxml-loader', options: { raw: true,...

似乎是受 html-minifier 的这项配置影响 https://github.com/tinajs/wxml-loader/blob/tinajs/src/index.js#L46

我看 minui 的组件是用 min 的 `wxc` 格式写的,这份原生写法的组件在哪里下载?

重现了,应该是 `wxml-loader` 压缩代码时把在 html 中多余的 `` 去掉了;处理起来需要一点时间,你可以先修改 `wxc-input/index.wxml`,将 `` 改为 ``,暂时绕过这个问题。