I've been working to expand an emscripten boilerplate I created a while ago to give a webpack example considering it's massive use across industry. I am running into a significant hurdle though, I keep getting a failure from the webpack loader saying `Cannot find module "."`. I'm somewhat at a loss right now as to how to work around it. Here are a few things I tried:
- I do have a require.js example and a script tag example running successfully (it exists in client.web) so I know the library can load and run successfully - I thought it was because I was splitting out the .js.mem file but I did add `--memory-init-file 0` so it shouldn't have been generated (though I could have done this wrong) - I then added .js.mem as a raw loader, that didn't seem to help So if anyone here has actually gotten webpack and emscripten to play well with one another, I'd love any help I can get! The code can be found in a branch k2snowman69/webpack in the following GitHub https://github.com/k2snowman69/boilerplate-emscripten-typescript/tree/k2snowman69/webpack Instructions on how to build are in the readme. I will preface the same warning that's in the readme... I work mainly on windows so I'm not sure how well this repo does in unix. Thanks in advance! -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
