admin 管理员组文章数量: 887018
2024年2月23日发(作者:select查询)
import { rollup } from "rollup";import { terser } from "rollup-plugin-terser";rollup({ input: "", plugins: [terser()]});antd 组件源码错误 switch (e) { case 'fill': return c + '-fill'; case 'outline': return c + '-o'; case 'twotone': return c + '-twotone'; default: throw new TypeError('Unknown theme type: ' + e + ', name: ' + c); }
注释掉message组件问题消失able
// if (isNode) { notify = function () { ck(flush); }; // browsers with MutationObserver, except iOS Safari - /zloirock/core-js/issues/339 } else if (Observer && !(tor && lone)) { var toggle = true; var node = TextNode(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new notify = function () { = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise } else if (Promise && e) { // e without an argument throws an error in LG WebOS 2 var promise = e(undefined); notify = function () { (flush); }; // for other environments - macrotask based on: // - setImmediate // - MessageChannel // - ssag // - onreadystatechange // - setTimeout } else { notify = function () { // strange IE + webpack dev server bug - use .call(global) (global, flush); }; }修改后的代码
版权声明:本文标题:rollup开发vue组件库及umdSDK问题总结 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1708670006h529019.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论