Skip to content

Commit 4e8ab8c

Browse files
committed
fix: Adjust vite config for updated package
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 9206d83 commit 4e8ab8c

File tree

7 files changed

+4
-39
lines changed

7 files changed

+4
-39
lines changed

css/logreader-style.css

Lines changed: 0 additions & 27 deletions
This file was deleted.

js/logreader-main.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/logreader-main.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Controller/PageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
*/
4848
public function index() {
4949
Util::addScript($this->appName, 'logreader-main');
50-
Util::addStyle($this->appName, 'logreader-style');
50+
Util::addStyle($this->appName, 'logreader-main');
5151
$this->initialState->provideInitialState('settings', $this->settingsService->getAppSettings());
5252

5353
return new TemplateResponse($this->appName, 'index');

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const config = createAppConfig({
66
}, {
77
// Build the css/logreader-style.css instead of inlineing the styles in the js bundle
88
inlineCSS: false,
9+
assetFileNames: (info) => info.name === 'index.css' ? 'css/logreader-main.css' : undefined,
910
// Configuration for vitest unit tests
1011
config: {
1112
test: {

vitest.config.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)