Sme Posted November 17, 2018 Share Posted November 17, 2018 Is there a way to suppress the warnings when compiling, for example, Quote WARNING in ./node_modules/babylonjs/babylon.js Module not found: Error: Can't resolve 'oimo' in '...' As far as I'm aware, I don't need to use any functionality cannon, earcut, or oimo (i'm getting warnings for all 3). If it matters, I'm using VSCode, TypeScript, and webpack-dev-server for my development environment. Thanks Quote Link to comment Share on other sites More sharing options...
ssaket Posted November 18, 2018 Share Posted November 18, 2018 Hello and welcome ! To stop these warnings you have to specify them as externals in your webpack's config file, also please go through https://doc.babylonjs.com/features/npm_support, it contains all the necessary information. externals: { "oimo": true, "cannon": true, "earcut": true }, Sebavan 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.