Skip to content

Commit 6434df4

Browse files
committed
build(vite): stringify scope version in SASS
Signed-off-by: Grigorii K. Shartsev <[email protected]>
1 parent 9c1ef48 commit 6434df4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.mts

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import l10nPlugin from './build/l10n-plugin.mts'
1313
const __dirname = url.fileURLToPath(new URL('.', import.meta.url))
1414

1515
const appVersion = JSON.stringify(process.env.npm_package_version || 'nextcloud-vue')
16-
const SCOPE_VERSION = md5(appVersion).slice(0, 7) as string
16+
const versionHash = md5(appVersion).slice(0, 7) as string
17+
const SCOPE_VERSION = JSON.stringify(versionHash)
1718

1819
// Entry points which we build using vite
1920
const entryPoints = {

0 commit comments

Comments
 (0)