webpack-obfuscator not working on Firebase deployment
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- firebase, javascript, node.js, typescript, webpack
- 领域
- build-system, cloud
调研方向
从复现所使用的 package.json 依赖项和 Firebase Functions 部署配置开始;比较可正常工作的 firebase emulators:start 路径与 firebase deploy。验证已部署的函数中是否提供了混淆器包,并使用报告的 Cannot find module 错误作为完成检查。
由索引模型根据 Issue 内容生成。
描述
Expected Behavior
webpack-obfuscator and javacript-obfuscator should be working on Firebase deployment without issue
Current Behavior
My firebase functions are deployed correctly unless I import webpack-obfuscator or javacript-obfuscator
Always produce error
Did you list all required modules in the package.json dependencies?
Detailed stack trace: Error: Cannot find module 'webpack-obfuscator'
| webpack-obfuscator | javacript-obfuscator | |
|---|---|---|
| sample code | ![]() |
![]() |
| error | ![]() |
![]() |
Steps to Reproduce
- Install
webpack-obfuscator - Run
firebase emulators:startto test the function, it working properly - Run
firebase deploythe functions can not be deployed
Enviroment
- Node 14
- "webpack-obfuscator": "3.5.1",
- "javascript-obfuscator": "4.0.2"
Reference
I have taken a look at these issues, but either they are outdated or not work
- https://github.com/javascript-obfuscator/javascript-obfuscator/issues/687
- https://github.com/javascript-obfuscator/webpack-obfuscator/issues/138
- https://github.com/javascript-obfuscator/webpack-obfuscator/issues/82#issue-667058896
cc: @sanex3339 since you found a bug in loader ( but it was 3 years ago )
- 主要语言
- TypeScript
- 星标
- 930
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
javascript-obfuscator/webpack-obfuscator 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
javascript-obfuscator/webpack-obfuscator#180 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
查看 javascript-obfuscator/webpack-obfuscator 的全部 Issue
相似的 Issue
-
🐛 bug
难度 2/5 1-3 小时 新手友好度 68/100
LibreChat-AI/LibreChat#17733 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
TypeStrong/typedoc#3150 ·
-
accessibility bug good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Normalize image-source MIME types before SVG dispatch可能已有人在做 @HarsH-1877 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
tscircuit/image-utils#58 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 74/100
维护者通常 2 天内回复



