Open draco2007 opened 6 years ago
It seems to be impossible to create two different packages for two different html files within the same project. So something like this does not work:
var sb = require("easypack"); sb.build({ webRoot: "root", inputHtml: "index.html", outputHtml: "index.build.html", jsBuildName: "main.js", timeStampBuild: false }); sb.build({ webRoot: "root", inputHtml: "rulesIndex.html", outputHtml: "rulesIndex.build.html", jsBuildName: "rules.js", timeStampBuild: false });
it only creates rulesIndex.build.html, the first html will not be created. It seams that the build() function always clears the build folder.
It seems to be impossible to create two different packages for two different html files within the same project. So something like this does not work:
it only creates rulesIndex.build.html, the first html will not be created. It seams that the build() function always clears the build folder.