When I run npm run build I get the following error message.
[copy-webpack-plugin] unable to locate 'path\to\project\public' at 'path\to\project\public'
I moved the public folder to src/main/resources/public. However I can't find a config to change the path. I think the relevant code is in node_modules\@vue\cli-service\lib\config\app.js
// copy static assets in public/
webpackConfig
.plugin('copy')
.use(require('copy-webpack-plugin'), [[{
from: api.resolve('public'),
to: api.resolve(options.outputDir),
ignore: ['index.html', '.DS_Store']
}]])
How do I override this in vue.config.js?
webpack.config.jsonfile