1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

解决打包时丢失图片问题

This commit is contained in:
程序员小墨 2022-11-26 22:20:45 +08:00
parent 66b2babf79
commit 47cb9a730b
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ const config = {
},
copy: {
patterns: [
{ from: 'src/image/', to: 'dist/image/', ignore: ['*.js'] }, // 指定需要 copy 的目录
],
options: {
}

View File

@ -1,5 +1,5 @@
{
"enableAppxNg": true,
"enableNodeModuleBabelTransform": false,
"enableNodeModuleBabelTransform": true,
"miniprogramRoot": "./"
}