JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.01k stars 271 forks source link

Webpack 5 cache=filesystem #481

Open ianberdin opened 2 years ago

ianberdin commented 2 years ago

It doesn't work with webpack 5 cache=filesystem. It works on first run, but after webpack restarted it doesn't work. (just serves index.html instead of sprite.svg)

    cache: {
      type: 'filesystem',
    },
image
BowenZ commented 2 years ago

@ianberdin Hi, I encounterd the same problem, have you solved this?

ianberdin commented 2 years ago

Nope. I made a super dirty hack: load rendered sprite on development.