Binaryify / vue-qr

The Vue Component for Awesome-qr.js
MIT License
849 stars 123 forks source link

能不能不加polyfill #53

Closed ben-lau closed 5 years ago

ben-lau commented 5 years ago

我的项目内置了polyfill了 编译后发现vue-qr内也有 导致报错 Uncaught Error: only one instance of babel-polyfill is allowed 要求运行环境支持es7就好了啊

Binaryify commented 5 years ago

已更新

ben-lau commented 5 years ago

你好,你的npm包未编译就上传了

Binaryify commented 5 years ago

npm publish 有就行,不需要上传污染仓库

Binaryify commented 5 years ago

是我漏了 build 就发布 npm 了吗,我看了下时间应该是没问题的

ben-lau commented 5 years ago

没有哦 image 你的package入口是dist/vue-qr 直接没了dist目录 忘了构建吧?

Binaryify commented 5 years ago

稍等

Binaryify commented 5 years ago

再试试

Binaryify commented 5 years ago

没设置 npmignore 会直接把 gitignore 复制一份成 npmignore,忽略了 dist,挺坑的,刚加了

ben-lau commented 5 years ago

哈哈 可以了 感谢作者 好效率啊

Binaryify commented 5 years ago

👌