Commit b5568556 authored by afc163's avatar afc163 Committed by 陈帅

使用最新的 less.js

parent 6efffad5
......@@ -21,10 +21,11 @@ const updateTheme = primaryColor => {
lessConfigNode.innerHTML = `
window.less = {
async: true,
env: 'production'
env: 'production',
javascriptEnabled: true
};
`;
lessScriptNode.src = 'https://gw.alipayobjects.com/os/lib/less.js/2.7.3/less.min.js';
lessScriptNode.src = 'https://gw.alipayobjects.com/os/lib/less.js/3.8.1/less.min.js';
lessScriptNode.async = true;
lessScriptNode.onload = () => {
buildIt();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment