update security headers to make development easier
remove .br build output since the compression are usually handled by the proxy in front of the server. keep .gz for compatibilty.
(click to expand) css modules dynamic key issue
with the following code:
```ts
import * as styles from './index.module.scss';
```
we could not use a dynamic key for `styles`, e.g.:
```ts
styles[type]
```
it will cause a wrong classname (without hash and others) in the output. while using the default import works.
To-dos
pop up a window when a module cannot be found (we may have updates, let the user refresh the page) use react-safe-lazy #6332
Summary
a follow-up of #6314. experience will be a separate pull since we need to update it with care.
Updates
.svg?react
to import svg as React component.br
build output since the compression are usually handled by the proxy in front of the server. keep.gz
for compatibilty.(click to expand) css modules dynamic key issue
with the following code: ```ts import * as styles from './index.module.scss'; ``` we could not use a dynamic key for `styles`, e.g.: ```ts styles[type] ``` it will cause a wrong classname (without hash and others) in the output. while using the default import works.
To-dos
pop up a window when a module cannot be found (we may have updates, let the user refresh the page)use react-safe-lazy #6332packages/console/src/mdx-components/Mermaid/index.tsx
) #6323process.env
in@withtyped/client
Testing
locally previewed & clicked around, looks ok. also ci should be a great guard.
Checklist
.changeset