mirror of
https://github.com/runofthemillgeek/swarnam-obsidian.git
synced 2024-11-16 15:30:16 +00:00
19 lines
424 B
JavaScript
19 lines
424 B
JavaScript
import typescript from '@rollup/plugin-typescript';
|
|
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
|
import commonjs from '@rollup/plugin-commonjs';
|
|
|
|
export default {
|
|
input: 'main.ts',
|
|
output: {
|
|
dir: '.',
|
|
sourcemap: 'inline',
|
|
format: 'cjs',
|
|
exports: 'default'
|
|
},
|
|
external: ['obsidian'],
|
|
plugins: [
|
|
typescript(),
|
|
nodeResolve({browser: true}),
|
|
commonjs(),
|
|
]
|
|
}; |