Relative typography for the dashboard

Signed-off-by: Romein van Buren <romein@vburen.nl>
This commit is contained in:
2022-07-12 11:34:04 +02:00
parent 8b922477d9
commit 0ff2202da0
3 changed files with 19 additions and 12 deletions

View File

@ -56,14 +56,14 @@ async function build({ server, settings }) {
});
const { output } = await bundle.generate({
sourcemap: true,
sourcemap: false,
format: 'iife',
name: 'app',
file: 'public/build/bundle.js',
});
return {
map: output[0].map.toUrl(),
map: output[0].map ? output[0].map.toUrl() : '',
code: output[0].code,
css: cssOutput.css,
};