How to use the @embroider/core.toBroccoliPlugin function in @embroider/core

To help you get started, we’ve selected a few @embroider/core 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 embroider-build / embroider / packages / compat / src / default-pipeline.ts View on Github external
console.log(`Building into ${result.outputPath}`);
      }
    });
  }

  if (process.env.STAGE1_ONLY) {
    return addons.tree;
  }

  let embroiderApp = new App(emberApp, addons, options);

  if (process.env.STAGE2_ONLY) {
    return embroiderApp.tree;
  }

  let BroccoliPackager = toBroccoliPlugin(packager);

  return new BroccoliPackager(embroiderApp, options && options.packagerOptions);
}