Before ECMAScript 2015, module management had to be ad-hoc or provided by 3rd-party libraries such as Node.js, Webpack, or RequireJS. Fortunately, ES2015, provides language-standard mechanisms for module management, ``++import++`` and ``++export++``, and older usages should be converted.
\[~ann.campbell.2] WDYT about removing code examples at all?
=== on 8 Feb 2016, 09:44:14 Elena Vilchik wrote:
\[~ann.campbell.2] I don't like the following thing: for AMD (``++define++`` function) we will raise one issue per module (aka file). While for CommonJS (``++require++`` function) will raise one issue per imported module. I like second approach and suggest to raise one issue per imported module for AMD too (i.e. per element in first argument array). Then we can change the message to ``++Use a standard "import" statement to import module "XXX".++``.