view demo/rollup.config.js @ 83:b973d7f95fdf

bake out the stylus to plain css; add this https://ziga-petek.medium.com/using-fonts-in-web-components-6aba251ed4e5 to make fonts work
author drewp@bigasterisk.com
date Wed, 17 Nov 2021 16:42:59 -0800
parents 099b62d6d0b3
children
line wrap: on
line source

import html from '@web/rollup-plugin-html';
import resolve from '@rollup/plugin-node-resolve';
import summary from 'rollup-plugin-summary';

export default {
  plugins: [
    html({
      input: 'index.html',
    }),
    resolve(),
    summary(),
  ],
  output: {
    dir: 'build',
  },
  preserveEntrySignatures: 'strict',
};