rollup-build-webext-config/rollup.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
281 B
JavaScript
Raw Normal View History

2023-07-28 07:48:01 -04:00
import typescript from '@rollup/plugin-typescript';
import {defineConfig} from 'rollup';
export default defineConfig({
2023-09-05 15:41:43 -04:00
input: 'src/index.ts',
2023-07-28 07:48:01 -04:00
output: {
format: 'es',
dir: 'build',
},
external: [
'node:fs/promises',
2023-07-28 07:48:01 -04:00
'node:path',
],
plugins: [
typescript(),
],
});