I have a public folder that looks as follows:
After building the project with
"prod": "npm run mlbuild | npm run build"
the dist folder looks as following:
But I am missing config.json
, favicon.ico
and keycloak.json
.
How to take these files into dist
folder during the build
?
I tried:
{
test: /\.(json)(\?v=\d+\.\d+\.\d+)?$/,
use: [{
loader: 'file-loader',
options: {
name: '[name].[ext]'
}
}]
}
But I think, I have to mention the folder.