mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 08:16:40 +01:00
26 lines
531 B
JavaScript
26 lines
531 B
JavaScript
import buble from '@rollup/plugin-buble'
|
|
import pkg from "./package.json" with { type: "json" };
|
|
|
|
const output = {
|
|
format: 'umd',
|
|
file: "dist/split.js",
|
|
name: 'Split',
|
|
sourcemap: false,
|
|
banner: `/*! Split.js - v${pkg.version} */\n`
|
|
}
|
|
|
|
export default [
|
|
{
|
|
input: 'src/split.js',
|
|
output: [
|
|
output,
|
|
{
|
|
file: "dist/split.min.js",
|
|
format: 'esm',
|
|
sourcemap: false,
|
|
},
|
|
],
|
|
plugins: [buble()],
|
|
}
|
|
]
|