Webpack compiler can understand modules written as ES2015 modules, CommonJS or AMD.
Existing code using define() function doesn’t need modification.
Migrating Require.js config to Webpack config
The first thing to do when converting from Require.js to Webpack is to take your whole Require.js configuration file (requirejs_config.js) and convert it into Webpack configuration file (webpack.config.js).
Module Path Resolution
Help Webpack to find your module files.
NPM in place of Bower components
You can use NPM in place of Bower components , since we can configure easily in Webpack to load NPM dependencies
Aliases
Migrate Require.js paths to webpack alias
Shim
Require.js shim takes modules that are not AMD compatible and makes them compatible.