mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
webpack: Remove resolve.extensions from config.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
ec3177c834
commit
e73f1a74f3
@@ -73,7 +73,7 @@ const config = (
|
||||
: Object.fromEntries(
|
||||
Object.entries({...assets, ...dev_assets}).map(([name, paths]) => [
|
||||
name,
|
||||
[...paths, "./src/debug"],
|
||||
[...paths, "./src/debug.ts"],
|
||||
]),
|
||||
),
|
||||
module: {
|
||||
@@ -209,10 +209,6 @@ const config = (
|
||||
chunkFilename: production ? "[contenthash].js" : "[id].js",
|
||||
crossOriginLoading: "anonymous",
|
||||
},
|
||||
resolve: {
|
||||
...baseConfig.resolve,
|
||||
extensions: [".ts", ".js"],
|
||||
},
|
||||
// We prefer cheap-module-source-map over any eval-* options
|
||||
// because stacktrace-gps doesn't currently support extracting
|
||||
// the source snippets with the eval-* options.
|
||||
|
Reference in New Issue
Block a user