解决打包时丢失图片问题
This commit is contained in:
		@@ -14,6 +14,7 @@ const config = {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  copy: {
 | 
					  copy: {
 | 
				
			||||||
    patterns: [
 | 
					    patterns: [
 | 
				
			||||||
 | 
					      { from: 'src/image/', to: 'dist/image/', ignore: ['*.js'] }, // 指定需要 copy 的目录
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    options: {
 | 
					    options: {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "enableAppxNg": true,
 | 
					  "enableAppxNg": true,
 | 
				
			||||||
  "enableNodeModuleBabelTransform": false,
 | 
					  "enableNodeModuleBabelTransform": true,
 | 
				
			||||||
  "miniprogramRoot": "./"
 | 
					  "miniprogramRoot": "./"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user