implements proper node_modules exclusion path in prod webpack config
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = (config) => {
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
exclude: /node_modules\/(?!(@payloadcms\/payload)\/).*/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user