fix(build): define appName to fix this error: "The '@nextcloud/vue' library was used without setting / replacing the 'appName'"
Some checks are pending
ci/woodpecker/push/build Pipeline is pending approval
ci/woodpecker/push/security Pipeline is pending approval

This commit is contained in:
Simon Vieille 2025-05-04 13:11:05 +02:00
commit f58dedf553
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -77,6 +77,10 @@ module.exports = {
new webpack.ProvidePlugin({ new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'], Buffer: ['buffer', 'Buffer'],
}), }),
new webpack.DefinePlugin({
appName: JSON.stringify(appName),
}),
], ],
resolve: { resolve: {