const application = require(“application”);
I’ve solved the problem: webpack.config.js:
module.exports = { externals: { application: "application" }, }
Thanks for posting the solution here. Yes. You have to put XD modules in the externals property.
externals