mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
tooling: Remove static/node_modules symlink.
It appears not to have been useful and makes it marginally harder to reason about how module resolution works. Paths to static content in node_modules should be resolved through Webpack instead. (This node_modules symlink was originally created in the pre-webpack world where all of our static asset paths were based in static/.) Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
297c79eaa9
commit
02d19d48fc
@@ -312,7 +312,7 @@ exports.set_up = function () {
|
||||
if (page_params.development_environment) {
|
||||
// Usually the Django templates handle this path stuff
|
||||
// for us, but in this case we need to hardcode it.
|
||||
zxcvbn_path = '/static/node_modules/zxcvbn/dist/zxcvbn.js';
|
||||
zxcvbn_path = '/webpack/zxcvbn.js';
|
||||
}
|
||||
$.getScript(zxcvbn_path, function () {
|
||||
$('#pw_strength .bar').removeClass("fade");
|
||||
|
||||
Reference in New Issue
Block a user