svelte-price-estimate
Version:
An easy way to show and manage your price estimation for your Svelte project
18 lines (16 loc) • 482 B
JavaScript
import svelte from 'rollup-plugin-svelte';
import resolve from 'rollup-plugin-node-resolve';
import css from 'rollup-plugin-css-only';
const pkg = require('./package.json');
export default {
input: 'src/PriceEstimate.svelte',
output: [
{ file: pkg.module, 'format': 'es' },
{ file: pkg.main, 'format': 'umd', name: 'PriceEstimate' }
],
plugins: [
svelte(),
css({ output: 'bundle.css' }),
resolve()
],
};