blob: b59bded3b1f893cba3d60f5c606f98f5d7ffa295 [file]
const commonjs = require('@rollup/plugin-commonjs');
const {nodeResolve} = require('@rollup/plugin-node-resolve');
module.exports = {
output: {
// Since we check-in the bundle, add a comment that disables
// clang-format for the checked-in file.
banner: '// clang-format off',
},
plugins: [
nodeResolve({preferBuiltins: true}),
// The runfile helpers use a dynamic import for loading the
// NodeJS patch script. We want to preserve such dynamic imports.
commonjs({ignoreDynamicRequires: true}),
],
};