annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
81
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
1 import html from '@web/rollup-plugin-html';
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
2 import resolve from '@rollup/plugin-node-resolve';
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
3 import summary from 'rollup-plugin-summary';
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
4
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
5 export default {
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
6 plugins: [
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
7 html({
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
8 input: 'index.html',
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
9 }),
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
10 resolve(),
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
11 summary(),
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
12 ],
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
13 output: {
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
14 dir: 'build',
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
15 },
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
16 preserveEntrySignatures: 'strict',
099b62d6d0b3 new demo that's a standalone project
drewp@bigasterisk.com
parents:
diff changeset
17 };