marko-js-archive / marko-loader

DEPRECATED: see https://github.com/marko-js/webpack
MIT License
10 stars 12 forks source link

Automatically detect webpack target #19

Closed DylanPiercey closed 7 years ago

DylanPiercey commented 7 years ago

Currently users must specify target: 'server' for server builds. This PR makes it so that if this option is not specified it will infer the compilation target based off or webpacks compilation target.


This also resolves https://github.com/marko-js/marko-loader/issues/18 since it normalizes browser and server names.