From 4d3fdf016687e97a7bda53fd613d12d4c26b2da2 Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Thu, 28 Jul 2022 17:59:54 -0400 Subject: [PATCH] fix(packages/webpack): headless webpack builds fail with asciinema casts --- packages/webpack/headless-webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/webpack/headless-webpack.config.js b/packages/webpack/headless-webpack.config.js index 3cf927dd0cd..a8b8522e757 100644 --- a/packages/webpack/headless-webpack.config.js +++ b/packages/webpack/headless-webpack.config.js @@ -287,6 +287,9 @@ const config = ( { test: /\.ico$/, use: 'ignore-loader' }, { test: /\.jpg$/, use: 'ignore-loader' }, + // support for asciinema "casts" + { test: /\.cast$/, type: 'ignore-loader' }, + // handles template images for Tray menus { test: x => x.endsWith('.png') && !/Template(@[^.]+)?\.png$/.test(x), use: 'ignore-loader' }, {