This gist demonstrates one of the issues with the new build system of Frappe.
Step 1
Add the sq.js
and square.bundle.js
from gist to apps/frappe/frappe/public/js
in your bench.
Step 2
Run build.
$ bench build --app=frappe
Step 3
Look at the contents of dist/js/square.bundle.*.js
.
$ cat apps/frappe/frappe/public/dist/js/square.bundle.*.js
(() => {
})();
//# sourceMappingURL=square.bundle.BGCA7SNG.js.map
Thanks for the clarification.
I saw
frappe/utils/datetime.js
and that didn't had any exports. I thought it won't be need here as well.I understand that now.