puppeteer/examples/puppeteer-in-extension/rollup.config.mjs
2024-05-16 23:20:02 +08:00

21 lines
349 B
JavaScript

/**
* @license
* Copyright 2024 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import {nodeResolve} from '@rollup/plugin-node-resolve';
export default {
input: 'background.js',
output: {
format: 'esm',
dir: 'out',
},
plugins: [
nodeResolve({
browser: true,
resolveOnly: ['puppeteer-core'],
}),
],
};