your local file should be added in the webpack.config.js in the CopyWebpackPlugin section

From

new CopyWebpackPlugin([
{ from: { glob: “fonts/” } }, { from: { glob: “/.jpg” } }, { from: { glob: “/.png” } },
], { ignore: [${relative(appPath, appResourcesFullPath)}/**] }),

To

new CopyWebpackPlugin([
{ from: { glob: “/.html” } }, { from: { glob: “/.js” } },
{ from: { glob: “fonts/” } }, { from: { glob: “/.jpg” } }, { from: { glob: “/.png” } },
], { ignore: [${relative(appPath, appResourcesFullPath)}/**] }),

By admin