mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Update webpack (#430)
* Update webpack * also install dev dependencies in CI * Add rimraf * fix added whitespace * Clarify node warnings and NPM compatibility
This commit is contained in:
@@ -18,7 +18,7 @@ const moduleRules = [
|
||||
},
|
||||
{
|
||||
test: /\.ts$/,
|
||||
loaders: ["ts-loader"],
|
||||
use: "ts-loader",
|
||||
exclude: path.resolve(__dirname, "node_modules"),
|
||||
},
|
||||
];
|
||||
@@ -35,7 +35,10 @@ const plugins = [
|
||||
banner: "#!/usr/bin/env node",
|
||||
raw: true,
|
||||
}),
|
||||
new webpack.IgnorePlugin(/^encoding$/, /node-fetch/),
|
||||
new webpack.IgnorePlugin({
|
||||
resourceRegExp: /^encoding$/,
|
||||
contextRegExp: /node-fetch/,
|
||||
}),
|
||||
];
|
||||
|
||||
const config = {
|
||||
|
||||
Reference in New Issue
Block a user