mirror of
https://gitnet.fr/deblan/side_menu.git
synced 2025-12-17 21:02:25 +01:00
fix(build): define appName to fix this error: "The '@nextcloud/vue' library was used without setting / replacing the 'appName'"
This commit is contained in:
parent
8c6f0ad1da
commit
f58dedf553
1 changed files with 4 additions and 0 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue