Commit bbeb7c0d authored by rockyl's avatar rockyl

调试模式

parent 0200d4ab
...@@ -43,7 +43,7 @@ async function pack(data, options) { ...@@ -43,7 +43,7 @@ async function pack(data, options) {
let dependencies = data.dependencies; let dependencies = data.dependencies;
let getPackages = options.getPackages; let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/'); const {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/', options.debug);
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
......
This diff is collapsed.
...@@ -49,7 +49,7 @@ async function pack(data, options) { ...@@ -49,7 +49,7 @@ async function pack(data, options) {
let dependencies = data.dependencies; let dependencies = data.dependencies;
let getPackages = options.getPackages; let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await zeroingTemplateFill.generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/'); const {libraryScriptElMap, analyseResult} = await zeroingTemplateFill.generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/', options.debug);
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
......
This diff is collapsed.
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
let dependencies = data.dependencies; let dependencies = data.dependencies;
let getPackages = options.getPackages; let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await zeroingTemplateFill.generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/'); const {libraryScriptElMap, analyseResult} = await zeroingTemplateFill.generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/', options.debug);
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
......
This diff is collapsed.
...@@ -15,7 +15,7 @@ export async function pack(data, options) { ...@@ -15,7 +15,7 @@ export async function pack(data, options) {
let dependencies = data.dependencies; let dependencies = data.dependencies;
let getPackages = options.getPackages; let getPackages = options.getPackages;
const {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/'); const {libraryScriptElMap, analyseResult} = await generateLibraryScriptEl(data.options.tpl, dependencies, getPackages, '//yun.duiba.com.cn/editor/zeroing/libs/', options.debug);
let version = Date.now() + Math.floor(Math.random() * 1000); let version = Date.now() + Math.floor(Math.random() * 1000);
pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap); pageTemplate(data, data.options, version, analyseResult, libraryScriptElMap);
......
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