How to use the umi-build-dev/lib/build.default function in umi-build-dev

To help you get started, we’ve selected a few umi-build-dev examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github umijs / umi / packages / umi / src / build.js View on Github external
export default function(opts = {}) {
  return require('umi-build-dev/lib/build').default(
    buildDevOpts({
      ...opts,
    }),
  );
}