-
Notifications
You must be signed in to change notification settings - Fork 365
feat: 支持 public 目录 #1016
feat: 支持 public 目录 #1016
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/remaxjs/remax/7dkt2b3wc |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 614f159:
|
Codecov Report
@@ Coverage Diff @@
## master #1016 +/- ##
==========================================
+ Coverage 95.68% 95.74% +0.06%
==========================================
Files 330 331 +1
Lines 3542 3598 +56
Branches 516 524 +8
==========================================
+ Hits 3389 3445 +56
Misses 153 153
Continue to review full report at Codecov.
|
docs/guide/config/public.md
Outdated
|
||
在项目根目录下创建 public 目录,public 目录下的所有文件会被自动复制到 dist 目录下。 | ||
|
||
你可以将 `原生页面`, `tabbar 中配置的图片` 等等全局资源放在这个目录下。 |
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.
web 端这个目录会怎么处理? |
考虑下 watch 的情况 |
Co-authored-by: Wei Zhu <[email protected]>
@@ -42,6 +42,7 @@ | |||
"babel-preset-remax": "2.2.0", | |||
"chokidar": "^3.4.0", | |||
"clean-webpack-plugin": "^3.0.0", | |||
"copy-webpack-plugin": "^5.1.1", |
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.
怎么不用 6
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.
6有问题
No description provided.