obsidian-semantic

Log | Files | Refs | README

commit 00cf028cc30549f6ef610ded7f6c650411ac3a16
parent ceb3837850c1f6960446138f134aa12fa2b60ae3
Author: Clemens Ertle <clemensertle@gmail.com>
Date:   Wed,  3 Mar 2021 15:41:18 +0100

add banner to bundle

Diffstat:
Mrollup.config.js | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/rollup.config.js b/rollup.config.js @@ -2,13 +2,21 @@ import typescript from '@rollup/plugin-typescript'; import {nodeResolve} from '@rollup/plugin-node-resolve'; 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 { input: 'main.ts', output: { dir: '.', sourcemap: 'inline', format: 'cjs', - exports: 'default' + exports: 'default', + banner, }, external: ['obsidian'], plugins: [