gabiseabra / google-fonts-webpack-plugin

131 stars 44 forks source link

updated logic for publicpath #14

Closed debanjanbasu closed 6 years ago

debanjanbasu commented 6 years ago

if the publicpath is a url, such as a CDN. Then the plugin is broken in local mode, as path.posix .join causes // to convert to /.

gabiseabra commented 6 years ago

Thank you for the PR. It looks like this would fix #15 . I've noticed you reformatted the entire code, though. Could you please cherry pick the relevant commits into another branch and resubmit?