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

Leave a Reply

Your email address will not be published. Required fields are marked *