How to use broccoli-rollup - 1 common examples

To help you get started, we’ve selected a few broccoli-rollup 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 lifeart / async-dom / Brocfile.js View on Github external
files: ["src/lib/main/index.ts", "src/lib/main/app.ts","src/lib/main/thread.ts","src/lib/main/vm.ts"],
  },
  throwOnError: false,
  annotation: "compile program",
});

var workerTree = typescript('src', {
  tsconfig: {
    compilerOptions: tsCompilerOpts,
    files: ["src/lib/worker-thread/ww.ts", "src/lib/worker-thread/hooks.ts"],
  },
  throwOnError: false,
  annotation: "compile program",
});

export default merge(['src', workerTree, rollup(cjsTree, {
    rollup: {
      input: 'lib/main/index.js',
      output: {
        file: 'index.js',
        format: 'es',
      },
    } })
]);

broccoli-rollup

A broccoli plugin that uses rollup.js on its input

MIT
Latest version published 4 years ago

Package Health Score

50 / 100
Full package analysis

Popular broccoli-rollup functions