I'm migrating/moving a project based on require.js to webpack v3. Since all my modules are using the following syntax:
AMD never found much use outside of requirejs so likely you will need to convert. There are tools that will help:
There are caveats from (https://github.com/anodynos/uRequire/wiki/nodejs-Template):
For most projects this is not an issue.
You should be able to use the synchronous version of require. If using webpack2 you can use
You will find webpack version of all of these plugins
This can be replicated with https://www.npmjs.com/package/babel-plugin-module-alias