ci: don't create LICENSE.txt files anymore

... due to switch to SPDX headers

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2024-07-11 12:18:42 +02:00
Родитель 8d7b36e9a7
Коммит e91bca65a1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 6CADC7E3523C308B
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -3,6 +3,8 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
const webpackConfig = require('@nextcloud/webpack-vue-config')
// eslint-disable-next-line n/no-extraneous-require
const TerserPlugin = require('terser-webpack-plugin')
const WebpackSPDXPlugin = require('./build-js/WebpackSPDXPlugin.js')
const webpackRules = require('@nextcloud/webpack-vue-config/rules')
const path = require('path')
@ -25,6 +27,14 @@ webpackConfig.entry = {
'admin-settings': path.resolve(path.join('src', 'adminSettings.js')),
}
webpackConfig.optimization.minimizer = [new TerserPlugin({
extractComments: false,
terserOptions: {
format: {
comments: false,
},
},
})]
webpackConfig.plugins = [
...webpackConfig.plugins,