From 70994ddaf48a92d062977bc667c72685a4ccb815 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 18 May 2026 17:02:32 +0200 Subject: try to use bun for bundling --- static/pages/main/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'static/pages/main/index.js') diff --git a/static/pages/main/index.js b/static/pages/main/index.js index 8c0cac1..b0a13f6 100644 --- a/static/pages/main/index.js +++ b/static/pages/main/index.js @@ -2,7 +2,9 @@ import icons from 'icons'; import * as sfw from 'sfw'; const { Div, Input } = sfw.element.native; -const css = await sfw.css(import.meta.url, './index.css'); +import stylesheet from './index.css'; + +const css = await sfw.css.sheet(stylesheet); export default class MainView extends sfw.element.Container { #active_kind -- cgit v1.2.3-70-g09d2