29 lines
535 B
JavaScript
29 lines
535 B
JavaScript
import svelte from "rollup-plugin-svelte"
|
|
import resolve from "rollup-plugin-node-resolve"
|
|
import commonjs from "@rollup/plugin-commonjs"
|
|
import postcss from "rollup-plugin-postcss"
|
|
|
|
export default {
|
|
input: "src/index.js",
|
|
output: [
|
|
{
|
|
file: "dist/index.js",
|
|
format: "esm",
|
|
name: "budibaseStandardComponents",
|
|
sourcemap: true,
|
|
},
|
|
],
|
|
plugins: [
|
|
postcss({
|
|
plugins: [],
|
|
}),
|
|
svelte({
|
|
hydratable: true,
|
|
}),
|
|
resolve({
|
|
browser: true,
|
|
}),
|
|
commonjs(),
|
|
],
|
|
}
|