I'm developing a JS app http://myclibu.com which shares code between Node.js on the server and code in the Browser. And I'm migrating from using require.js to jspm.io for module loading in the Browser.
My ideal folder structure is
app -|- browser |- server |- shared
However so far I can't get config.paths in JSPM to work with files outside of the browser
folder (outside of baseURL
) which means I need to copy shared
into browser
to get files to load.
Is there any way I can use the folder structure as shown above? Note that I'm developing on Windows, in case that matters.