We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ba0a2b + 8a83c65 commit b2522d8Copy full SHA for b2522d8
1 file changed
vite.config.mts
@@ -93,6 +93,13 @@ const overrides = defineConfig({
93
],
94
},
95
96
+ modules: {
97
+ // Make sure @nextcloud/vue v9 and @nextcloud/vue v8 have different scopes even for the same component code
98
+ hashPrefix: '@nextcloud/vue@8',
99
+ // hashPrefix only works when custom generateScopedName is set
100
+ // Ref: https://github.com/madyankin/postcss-modules/blob/v6.0.1/src/scoping.js#L39
101
+ generateScopedName: '_[local]_[hash:base64:5]',
102
+ },
103
104
})
105
0 commit comments