Skip to content
#

miniprogram

Here are 517 public repositories matching this topic...

jasperchou
jasperchou commented Dec 26, 2019

问题描述
编译出来的图片、css文件名都没有带hash,对cdn极其不友好

复现步骤
[复现问题的步骤]
打包h5平台可以看到

预期结果
如同vue默认编译打包的文件一样

.
├── css
│   ├── about.b1fea8d8.css
│   └── app.27e4a8b9.css
├── favicon.ico
├── img
│   ├── btn_android@2x.b8ff7715.png
│   ├── btn_ios@2x.68fbbb2a.png
│   ├── head.0887223a.png
│   ├── logo@2x.e30dcfbd.png
│   └── pic@2x.115118db.png
├── index.html
├── js
│   ├── about.
jimwmg
jimwmg commented Dec 26, 2019

以下只提供一种用 eslint 校验CML项目的方案,开发者可以根据自己情况选择;

如何使用eslint校验本次提交

如何使用eslint规范CML项目

如何用eslint校验js文件

如何用eslint校验cml文件

如何看standard的具体的rules代表的含义

standard 具体的规则参考 node_modules/eslint-config-standard/eslintrc.json

[eslint配置详细解释中文文档](https://eslint.bootcss.com/docs/user-gu

Improve this page

Add a description, image, and links to the miniprogram topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the miniprogram topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.