budibase/packages/standard-components/rollup.config.js

25 lines
454 B
JavaScript
Raw Normal View History

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 {
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,
}),
2020-05-18 12:01:09 +02:00
commonjs(),
],
}