Field ‘browser’ doesn’t contain a valid alias configuration

I’ve started using webpack2 (to be precise, v2.3.2) and after re-creating my config I keep running into an issue I can’t seem to solve I get (sorry in advance for ugly dump): ERROR in ./src/main.js Module not found: Error: Can’t resolve ‘components/DoISuportIt’ in ‘[absolute path to my repo]/src’ resolve ‘components/DoISuportIt’ in ‘[absolute path to my … Read more

Relation between CommonJS, AMD and RequireJS?

I’m still very confused about CommonJS, AMD and RequireJS, even after reading a lot. I know that CommonJS (formerly ServerJS) is a group for defining some JavaScript specifications (i.e. modules) when the language is used outside the browser. CommonJS modules specification has some implementation like Node.js or RingoJS, right? What’s the relation between CommonJS, Asynchronous … Read more