Currently it looks like this loader only creates templates compiled for the browser. Because of this it is difficult to build isomorphic bundles (one for the browser and one for the server) using Marko and webpack.
It would be nice if this was configurable through the webpack options for the loader, or better yet it could automatically pickup on the webpack target for node and node-async.
I think this works fine if you manually specify the target: "server" option though.
Currently it looks like this loader only creates templates compiled for the browser. Because of this it is difficult to build isomorphic bundles (one for the browser and one for the server) using Marko and webpack.
It would be nice if this was configurable through the webpack options for the loader, or better yet it could automatically pickup on the webpack target for node and node-async.
I think this works fine if you manually specify the
target: "server"
option though.