peerigon / extract-loader

webpack loader to extract HTML and CSS from the bundle
The Unlicense
317 stars 74 forks source link

Support aliases #82

Open vseventer opened 4 years ago

vseventer commented 4 years ago

Fixes #81 by letting Webpack take care of loading modules - which e.g. means aliases are resolved correctly.

Afaik, the requiring of the js files was required because of certain node modules, so I updated the if-statement to be more specific to avoid issues with project-level js files.

boroth commented 3 years ago

Works for me, but would be nice to have it merged as an actual release for this project :)