When packaging using electron-builders, I understood that static resources from frontend sources are created in electron/lib/frontend during the bundling process during project build.
However, we cannot find where the static resources of the backup source are created.
Static resources have various extensions, such as .js, .xjs, and .xmodel.
backup source? You mean the application backend? How do you load these resources? If you just read them via
fs.readFile, you need to move them using your webpack config. You can also configure your
require function to be transpiled into something that automatically includes your resources into the bundled backend via webpack.
Aha! Thank you. I solved it with extra resources!