You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On May 28, 2023 08:27:56 aiselp ***@***.***> wrote:
下载了最新 cheerio 项目, 用 Webpack 鼓捣半天, 导入到 Auto.js 就报错. 试了一下大神的模块, 一次就成功了.
大神能分享一下 Webpack 的打包配置吗, 感谢. 😄
我用的是ncc打包成单文件,如果有es6代码就用babel把转成es5,像这样很多没有环境依赖的库就都可以使用了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID:
***@***.***>
7176f5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下载了最新 cheerio 项目, 用 Webpack 鼓捣半天, 导入到 Auto.js 就报错.
试了一下大神的模块, 一次就成功了.
大神能分享一下 Webpack 的打包配置吗, 感谢. 😄
7176f5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我用的是ncc打包成单文件,如果有es6代码就用babel把转成es5,像这样很多没有环境依赖的库就都可以使用了
7176f5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.