Level 2
anyone?
howdy, so i have this custom rule in my webpackConfig
module: {
rules: [
{
test: /\.html$/,
loader: 'string-replace-loader',
options: {
search: 'MIX_RESOURCES_DOMAIN',
replace: process.env.MIX_RESOURCES_DOMAIN
}
}
and i want it to work for copied files via the mix.copy()
but it does not work, it works for js files via mix.js() tho.
does anyone know how i can get that rule to work on copied files?
Please or to participate in this conversation.