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
268 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({
input: 'index.ts',
output: {
format: 'es',
dir: 'build',
},
external: [
'node:fs',
'node:path',
],
plugins: [
typescript(),
],
});