Closed emjunior258 closed 7 years ago
The plugin would simply allow the invocation of the webpack command, allowing to pass arguments and also to define the directory from which it should be invoked (optionally). This way, the hi-es5.js script wouldn't have to be generated in runtime, it could be generated right during the build process (generate-sources step), keeping it as the only back-end script included in the template files.
Webpack demands an entry point in order to do its magic. The run.js script could be this entry point, being the perfect place to include the framework modules the application depends on. If the run.js script will be the entry point a few questions must be answered?
export var ControllerAction = object;
import someLib = require('ControllerAction');
Hi-Framework must integrate easily with transpilers from ES6/7 to ES5 like Babel