Skip to content

Commit

Permalink
fix(packages/webpack): headless webpack builds fail with asciinema casts
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Jul 28, 2022
1 parent d83b01e commit 4d3fdf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/webpack/headless-webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
{
Expand Down

0 comments on commit 4d3fdf0

Please sign in to comment.