mirror of
https://github.com/runofthemillgeek/swarnam-obsidian.git
synced 2024-11-16 15:30:16 +00:00
add banner to bundle
This commit is contained in:
parent
ceb3837850
commit
00cf028cc3
@ -2,13 +2,21 @@ import typescript from '@rollup/plugin-typescript';
|
|||||||
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
||||||
import commonjs from '@rollup/plugin-commonjs';
|
import commonjs from '@rollup/plugin-commonjs';
|
||||||
|
|
||||||
|
const banner =
|
||||||
|
`/*
|
||||||
|
THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
|
||||||
|
if you want to view the source visit the plugins github repository
|
||||||
|
*/
|
||||||
|
`;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
input: 'main.ts',
|
input: 'main.ts',
|
||||||
output: {
|
output: {
|
||||||
dir: '.',
|
dir: '.',
|
||||||
sourcemap: 'inline',
|
sourcemap: 'inline',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
exports: 'default'
|
exports: 'default',
|
||||||
|
banner,
|
||||||
},
|
},
|
||||||
external: ['obsidian'],
|
external: ['obsidian'],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
Reference in New Issue
Block a user