2020-02-03 10:24:25 +01:00
|
|
|
import svelte from "rollup-plugin-svelte"
|
|
|
|
import resolve from "rollup-plugin-node-resolve"
|
2020-05-07 23:15:09 +02:00
|
|
|
import commonjs from "@rollup/plugin-commonjs"
|
2019-08-19 22:18:23 +02:00
|
|
|
|
|
|
|
export default {
|
2020-02-03 10:24:25 +01:00
|
|
|
input: "src/index.js",
|
|
|
|
output: [
|
|
|
|
{
|
|
|
|
file: "dist/index.js",
|
|
|
|
format: "esm",
|
|
|
|
name: "budibaseStandardComponents",
|
|
|
|
sourcemap: "inline",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
svelte({
|
|
|
|
hydratable: true,
|
|
|
|
}),
|
2020-05-07 23:15:09 +02:00
|
|
|
resolve({
|
|
|
|
browser: true,
|
|
|
|
}),
|
|
|
|
commonjs()
|
2020-02-03 10:24:25 +01:00
|
|
|
],
|
|
|
|
}
|