mirror of https://github.com/zulip/zulip.git
webpack: Trim resolve.extensions.
We don’t have any .tsx files, and nobody expects to be able to omit the extension when importing .json, .scss, or .css files. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
11a305e320
commit
fc3305b623
|
@ -101,7 +101,7 @@ export default (env?: string): webpack.Configuration => {
|
|||
"node_modules",
|
||||
resolve(__dirname, "../"),
|
||||
],
|
||||
extensions: [".tsx", ".ts", ".js", ".json", ".scss", ".css"],
|
||||
extensions: [".ts", ".js"],
|
||||
},
|
||||
// We prefer cheap-module-source-map over any eval-** options
|
||||
// because the eval-options currently don't support being
|
||||
|
|
Loading…
Reference in New Issue