JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.02k stars 272 forks source link

Fix for environments without webpack (linting) #383

Closed 719media closed 4 years ago

719media commented 4 years ago

This allows linters, which are not using webpack, to not explode at this dependency line.

There are other ways this could be addressed, but this is one that works for me.

It also includes the require.main.require check from #382 for phpstorm environments.

719media commented 4 years ago

Closing in favor of #382