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:
Родитель
8d7b36e9a7
Коммит
e91bca65a1
10
webpack.js
10
webpack.js
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче