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:
Anders Kaseorg
2019-06-27 14:42:16 -07:00
committed by Tim Abbott
parent 297c79eaa9
commit 02d19d48fc
3 changed files with 3 additions and 4 deletions

View File

@@ -934,7 +934,7 @@ JS_SPECS = {
# for bundling KaTeX.
'katex': {
'source_filenames': [
'node_modules/katex/dist/katex.js',
'../node_modules/katex/dist/katex.js',
],
'output_filename': 'min/katex.js',
},
@@ -943,7 +943,7 @@ JS_SPECS = {
# good way to look up the path to the file).
'zxcvbn': {
'source_filenames': [
'node_modules/zxcvbn/dist/zxcvbn.js',
'../node_modules/zxcvbn/dist/zxcvbn.js',
],
'output_filename': 'min/zxcvbn.js'
},