@plaudit/webpack-extensions 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -279,7 +279,7 @@ module.exports = function (config, webpackConfig = require("@wordpress/scripts/c
279
279
  },
280
280
  plugins: copyFiles
281
281
  ? plugins.map(plugin => plugin.constructor.name === 'CopyPlugin'
282
- ? new copy_webpack_plugin_1.default({ patterns: [{ from: '**/(block.json|*.(php|twig|svg))', context: srcRoot, noErrorOnMissing: true }] })
282
+ ? new copy_webpack_plugin_1.default({ patterns: [{ from: '**/(block.json|*.(asset\.php|svg))', context: srcRoot, noErrorOnMissing: true }] })
283
283
  : plugin)
284
284
  : (srcIsDirectory
285
285
  ? plugins.filter(plugin => plugin.constructor.name !== 'CopyPlugin' && plugin.constructor.name !== 'CleanWebpackPlugin')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaudit/webpack-extensions",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "scripts": {
5
5
  "prepublishOnly": "rm -rf build && mkdir build && tsc",
6
6
  "build": "tsc",