chore: minor fix

This commit is contained in:
Shariq Ansari 2022-10-05 16:37:36 +05:30
parent 799cc62515
commit 0b95de37fd

View file

@ -14,7 +14,7 @@ module.exports = {
let dir = path.dirname(out.path);
if (out.path.endsWith(".js") && keys.includes(asset_path)) {
let bundle_css = files[asset_path];
let include_css = '\nfrappe.require("' + bundle_css + '", null, true);\n';
let include_css = '\nfrappe.require("' + bundle_css + '");\n';
let modified = include_css + out.text;
out.contents = Buffer.from(modified);
}