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

29 lines
535 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"
import postcss from "rollup-plugin-postcss"
2019-08-19 22:18:23 +02:00
export default {
input: "src/index.js",
output: [
{
file: "dist/index.js",
format: "esm",
name: "budibaseStandardComponents",
sourcemap: true,
},
],
plugins: [
postcss({
plugins: [],
}),
svelte({
hydratable: true,
}),
2020-05-07 23:15:09 +02:00
resolve({
browser: true,
}),
2020-05-18 12:01:09 +02:00
commonjs(),
],
}