How to use the @haul-bundler/core-legacy/build/compiler/Compiler function in @haul-bundler/core-legacy

To help you get started, we’ve selected a few @haul-bundler/core-legacy 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 callstack / haul / packages / haul-core / src / server / Server.ts View on Github external
createCompiler() {
    const compiler = new Compiler(
      {
        configPath: this.configPath,
        configOptions: {
          ...this.options,
          bundleTarget: 'server',
          bundleMode:
            this.options.bundleNames.length > 1
              ? 'multi-bundle'
              : 'single-bundle',
        },
      },
      this.runtime.logger
    );

    compiler.on(
      Compiler.Events.BUILD_START,

@haul-bundler/core-legacy

Haul core library (legacy)

MIT
Latest version published 5 years ago

Package Health Score

51 / 100
Full package analysis

Similar packages