1
0
mirror of https://github.com/bitwarden/desktop synced 2025-12-10 21:33:43 +00:00

Bump dependencies (#848)

* Bump dependencies
This commit is contained in:
Oscar Hinton
2021-04-23 10:45:30 +02:00
committed by GitHub
parent 6dc82a8707
commit e6e79917f7
10 changed files with 6002 additions and 7727 deletions

View File

@@ -1,7 +1,7 @@
const path = require('path');
const merge = require('webpack-merge');
const { merge } = require('webpack-merge');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const nodeExternals = require('webpack-node-externals');
const common = {
@@ -55,14 +55,14 @@ const main = {
],
},
plugins: [
new CleanWebpackPlugin([
path.resolve(__dirname, 'build/*'),
]),
new CopyWebpackPlugin([
'./src/package.json',
{ from: './src/images', to: 'images' },
{ from: './src/locales', to: 'locales' },
]),
new CleanWebpackPlugin(),
new CopyWebpackPlugin({
patterns: [
'./src/package.json',
{ from: './src/images', to: 'images' },
{ from: './src/locales', to: 'locales' },
]
}),
],
externals: [nodeExternals()],
};