gabiseabra / google-fonts-webpack-plugin

131 stars 44 forks source link

Relative path #20

Open lucasazevedonet opened 6 years ago

lucasazevedonet commented 6 years ago

https://github.com/gabiseabra/google-fonts-webpack-plugin/blob/f149debc51b07061f102f675f477b4bb94c81c35/src/GoogleWebfonts.js#L29

Hi, Thanks for creating this plugin, is very useful.

Can you create an option to the SRC doesn't have the './' at the beginning. I mean, could you create an option like 'src: root (default - with ./)' or 'src: relative (without ./)', I'm having issues on my current project because of the path of the fonts.

Thank you!