Because of parseArgs() being just applied from cli.js, if the 'js' config value is a string of the form ':', it will be interpreted correctly only from the command line or the atomify section in package.json. If passed to atomify function, it will throw a 'cannot find module ...' error:
var options = {
js: 'main.js:alias.js'
};
require('atomify')(options);
Because of parseArgs() being just applied from cli.js, if the 'js' config value is a string of the form ':', it will be interpreted correctly only from the command line or the atomify section in package.json. If passed to atomify function, it will throw a 'cannot find module ...' error:
var options = {
js: 'main.js:alias.js'
};
require('atomify')(options);