Skip to content

Commit 20b5b36

Browse files
committed
chore: update generated path win compat
1 parent b5fa330 commit 20b5b36

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ lib-cov
99
logs
1010
node_modules
1111
temp
12-
.generated
12+
generated

scripts/build-css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import config from '../uno.config'
1414
const SRC_DIR = fileURLToPath(new URL('../src', import.meta.url))
1515
const GLOBS = ['components/**/*.vue']
1616
const USER_STYLE = join(SRC_DIR, 'style.css')
17-
const GENERATED_CSS = join(SRC_DIR, '.generated/css.ts')
17+
const GENERATED_CSS = join(SRC_DIR, 'generated/css.ts')
1818
const MINIFY = true
1919

2020
export async function buildCSS() {

src/components/UcanInspector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineCustomElement } from 'vue'
22

33
import Component from '@/components/UcanInspector.vue'
4-
import css from '../.generated/css'
4+
import css from '../generated/css'
55

66
/**
77
* Custom element definition for the inspector.

src/shims.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare module '*.vue' {
55
export default component
66
}
77

8-
declare module '*/.generated/css' {
8+
declare module '*/generated/css' {
99
const css: string
1010
export default css
1111
}

0 commit comments

Comments
 (0)