Skip to content

Commit 06423cc

Browse files
authored
Merge pull request #1037 from nextcloud/chore/update-vite
dependencies: Update vite and nextcloud/vite-config
2 parents 923260b + 4e8ab8c commit 06423cc

File tree

9 files changed

+138
-161
lines changed

9 files changed

+138
-161
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');

package-lock.json

Lines changed: 132 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"devDependencies": {
1515
"@nextcloud/browserslist-config": "^3.0.0",
1616
"@nextcloud/eslint-config": "^8.3.0",
17-
"@nextcloud/vite-config": "^1.0.1",
17+
"@nextcloud/vite-config": "^1.1.0",
1818
"@pinia/testing": "^0.1.3",
1919
"@vitest/coverage-istanbul": "^0.34.6",
2020
"@vue/test-utils": "^1.3.6",
2121
"@vue/tsconfig": "^0.4.0",
2222
"eslint-plugin-chai-friendly": "^0.7.2",
2323
"happy-dom": "^12.10.3",
2424
"typescript": "^5.2.2",
25-
"vite": "^4.4.11",
25+
"vite": "^4.5.0",
2626
"vitest": "^0.34.6"
2727
},
2828
"engines": {

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)