webpack.config.js 351 B

1234567891011121314151617
  1. const { assertSupportedNodeVersion } = require('../src/Engine');
  2. module.exports = async () => {
  3. // @ts-ignore
  4. process.noDeprecation = true;
  5. assertSupportedNodeVersion();
  6. const mix = require('../src/Mix').primary;
  7. require(mix.paths.mix());
  8. await mix.installDependencies();
  9. await mix.init();
  10. return mix.build();
  11. };