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 |
|
rev |
line source |
81
|
1 import html from '@web/rollup-plugin-html';
|
|
2 import resolve from '@rollup/plugin-node-resolve';
|
|
3 import summary from 'rollup-plugin-summary';
|
|
4
|
|
5 export default {
|
|
6 plugins: [
|
|
7 html({
|
|
8 input: 'index.html',
|
|
9 }),
|
|
10 resolve(),
|
|
11 summary(),
|
|
12 ],
|
|
13 output: {
|
|
14 dir: 'build',
|
|
15 },
|
|
16 preserveEntrySignatures: 'strict',
|
|
17 }; |