提交 c8f37bf2 编写于 作者: S songyu 提交者: 折腾笔记

chore: 删除无效代码

上级 928fbd2e
const fs = require('fs-extra');
const path = require('path');
const { generateAsset } = require('./utils');
const t = require('@babel/types');
const babelGenerator = require('@babel/generator');
......
......@@ -35,7 +35,6 @@ function copyWeuiCssToIndependent (independentRoot) {
function tryInsertWeuiCss (independentRoot, originalWxssStr) {
const manifestConfig = process.UNI_MANIFEST;
const weixinConfig = manifestConfig['mp-weixin'] || {};
const independentSwitch = !!weixinConfig.independent;
// 如果使用了weui,则需要注入weui样式
const useExtendedWeUi = !!(weixinConfig.useExtendedLib || {}).weui;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册