Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ const overrides = defineConfig({
],
},
},
modules: {
// Make sure @nextcloud/vue v9 and @nextcloud/vue v8 have different scopes even for the same component code
hashPrefix: '@nextcloud/vue@8',
// hashPrefix only works when custom generateScopedName is set
// Ref: https://github.com/madyankin/postcss-modules/blob/v6.0.1/src/scoping.js#L39
generateScopedName: '_[local]_[hash:base64:5]',
},
},
})

Expand Down
Loading