mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
21 lines
349 B
JavaScript
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'],
|
|
}),
|
|
],
|
|
};
|