Closed DylanPiercey closed 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.
target: 'server'
This also resolves https://github.com/marko-js/marko-loader/issues/18 since it normalizes browser and server names.
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.