Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 修复在 nodejs 16 上使用 liuli-cli 时的警告 #14

Closed
rxliuli opened this issue Sep 17, 2021 · 1 comment
Closed

bug: 修复在 nodejs 16 上使用 liuli-cli 时的警告 #14

rxliuli opened this issue Sep 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@rxliuli
Copy link
Owner

rxliuli commented Sep 17, 2021

(node:10612) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Users\rxliuli\AppData\Roaming\npm\node_modules\@liuli-util\cli\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)

根本原因似乎是 rollup-plugin-typescript2 依赖的 ts-lib 有问题,参考:ezolenko/rollup-plugin-typescript2#267

@rxliuli rxliuli added the bug Something isn't working label Sep 17, 2021
@rxliuli
Copy link
Owner Author

rxliuli commented Dec 7, 2021

不再使用 rollup 构建 lib

@rxliuli rxliuli closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant