Category "requirejs"

"type": "module" import issue

Using js librairies, I struggle with the fact that require and import are not suitable together. When I write "type": "module" in the package.json, then import

Not able to override collapsible.js in magento 2

I'm working on Magento EE 2.1.1 and I need to extend activate method functionality which located in lib/web/mage/collapsible.js . but I can't find the right way

Webpack conditional build based on configuration values

I'm looking for what ultimately would be a Webpack equivalent to Require.JS's has.js integration. In Require.JS you can compile different code paths based on a