diff --git a/.changeset/nasty-brooms-brush.md b/.changeset/nasty-brooms-brush.md deleted file mode 100644 index 7b628863..00000000 --- a/.changeset/nasty-brooms-brush.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'playroom': patch ---- - -Tighten webpack config merge rules to prevent replacing playroom webpack config with user-provided webpack config - -When merging user-provided webpack config, a module rule's `test`, `include` and `exclude` property will all be compared. diff --git a/lib/makeWebpackConfig.js b/lib/makeWebpackConfig.js index 78eb61e9..0179abe9 100644 --- a/lib/makeWebpackConfig.js +++ b/lib/makeWebpackConfig.js @@ -205,8 +205,6 @@ module.exports = async (playroomConfig, options) => { module: { rules: { test: 'match', - include: 'match', - exclude: 'match', use: 'replace', }, },