We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
原来pinyin.match(),现在pinyin.default.match()
The text was updated successfully, but these errors were encountered:
@lovebigbird 你是怎么引入的 环境是什么
Sorry, something went wrong.
react项目,npm引入1.1.7版本.现在需要这样使用const pinyin = require('pinyin-match');pinyin.default.match()
@lovebigbird 采用import 如果非要使用require 可以使用 或者 const pinyin = require('pinyin-match/lib/man.js') 或者 const pinyin = require('pinyin-match').default
webpack/webpack#4742 (comment)
"always prefer import nowadays. Only use require if the package is not an ES Module."
No branches or pull requests
原来pinyin.match(),现在pinyin.default.match()
The text was updated successfully, but these errors were encountered: