mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
d7f63217f1
This splits our pages to use separate JavaScript bundles. It initially splits the terminal, which reduces our primary bundle size by ~400KB. We should do this for all pages, but that can come in a future change. This leaves the loading page empty for now, which I think is fine. None of our pages are large enough that the blank screen temporarily would be concerning.
9 lines
240 B
JSON
9 lines
240 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"exclude": ["node_modules", "_jest", "**/*.stories.tsx", "**/*.test.tsx"],
|
|
"compilerOptions": {
|
|
// https://github.com/webpack/webpack/issues/5703#issuecomment-357512412
|
|
"module": "esnext"
|
|
}
|
|
}
|