Comments (2)
你的依赖中有 Node 原生模块(http/url 等),你可以试下加入这个插件:
https://www.npmjs.com/package/rollup-plugin-polyfill-node
不过 require$$1 这个应该是产物里的内容吧?
from icepkg.
我试了加入这个插件,但是仍然是一样的效果
打包配置:
对应的插件:
from icepkg.
Related Issues (20)
- 【Feature】可否支持定制输出文件夹名称
- 支持 docusaurus scripts 配置
- [BUG] windows下编译报错
- @ice/appear 在 children 设置 ref 方法时事件无效 HOT 1
- 文档预览支持纯净预览,去除 ice 默认的 layout
- 【monorepo】@ice/pkg-plugin-docusaurus 插件exclude配置多个会导致编译失败
- 求支持 docusaurus 配置 beforeDefaultRemarkPlugins HOT 1
- 开启 react-jsx 和 jsx-plus-plugin 时产物仍包含 React.createElement
- 使用github actions执行发布文档时ice-pkg build异常 HOT 1
- ice/pkg没有对.d.ts文件做特殊处理 HOT 4
- 配置了https和host后,终端里显示的地址和自动打开的页面地址和配置不一致 HOT 3
- umd 模式下css bundle中多了很多冗余样式,求解!!! HOT 3
- 开启 jsx-plus 插件后,内联 rpx 没有自动转成 vw HOT 3
- 求支持 文档对函数签名的细化
- [ice-pkg 插件开发] modifyUserConfig 不符合预期 HOT 2
- transform模式下,alias配置后路径转换不正确
- 打包成umd格式的js文件 里面的中文乱码 HOT 2
- 请问哪里可以看到changeLog? HOT 2
- Docusaurus插件如何配置插件属性? HOT 3
- npm init @ice/pkg@latest react-component就会报 react18 的警告,内部挂载的实现还是 react17 的 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icepkg.