mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
js: Extract password_quality module; remove zxcvbn from globals.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
84f1e27516
commit
bf056c8990
@@ -83,15 +83,6 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
||||
],
|
||||
use: [cacheLoader, "babel-loader"],
|
||||
},
|
||||
// Uses script-loader on minified files so we don't change global variables in them.
|
||||
// Also has the effect of making processing these files fast
|
||||
// Currently the source maps don't work with these so use unminified files
|
||||
// if debugging is required.
|
||||
{
|
||||
// We dont want to match admin.js
|
||||
test: /(\.min|min\.|zxcvbn)\.js/,
|
||||
use: [cacheLoader, "script-loader"],
|
||||
},
|
||||
// regular css files
|
||||
{
|
||||
test: /\.css$/,
|
||||
|
Reference in New Issue
Block a user