mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
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:
committed by
Tim Abbott
parent
11a305e320
commit
fc3305b623
@@ -101,7 +101,7 @@ export default (env?: string): webpack.Configuration => {
|
|||||||
"node_modules",
|
"node_modules",
|
||||||
resolve(__dirname, "../"),
|
resolve(__dirname, "../"),
|
||||||
],
|
],
|
||||||
extensions: [".tsx", ".ts", ".js", ".json", ".scss", ".css"],
|
extensions: [".ts", ".js"],
|
||||||
},
|
},
|
||||||
// We prefer cheap-module-source-map over any eval-** options
|
// We prefer cheap-module-source-map over any eval-** options
|
||||||
// because the eval-options currently don't support being
|
// because the eval-options currently don't support being
|
||||||
|
|||||||
Reference in New Issue
Block a user