Closed blond closed 9 years ago
requires: { lib: { commonJS: 'path/to/module' } }
Now the code will contain a line with require('path/to/module'). Such file can not be used in a browser.
require('path/to/module')
Наработки тут https://github.com/enb-bem/enb-bh/commit/be40ec60105eb397a61b10844b4a977ae7e06573
Now the code will contain a line with
require('path/to/module')
. Such file can not be used in a browser.