svg-inline-loader icon indicating copy to clipboard operation
svg-inline-loader copied to clipboard

Added options to define export format

Open Root-Core opened this issue 7 years ago • 1 comments

Hello, there.

As I'm using ES6 imports but transpile my output to ES5, I encounter the .default phenomenon. I fixed this by providing config flags, I just copied the option from html-loader and added some custom tests.

Equivalent to https://github.com/webpack-contrib/html-loader#export-formats

Regards!

Root-Core avatar Dec 10 '17 03:12 Root-Core

CLA assistant check
All committers have signed the CLA.

jsf-clabot avatar Dec 10 '17 03:12 jsf-clabot