Skip to content

Commit de26962

Browse files
authored
#48 - Readme improvements (#49)
1 parent 6958426 commit de26962

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,18 @@ export const links = [
327327
5. You are good to go!
328328
## Troubleshooting
329329

330+
### Dynamic imports are only supported when the "--module" flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.ts(1323)
331+
332+
To fix this issue you need to add the following to your `tsconfig.json` file:
333+
334+
```json
335+
{
336+
"compilerOptions": {
337+
// Or whatever module you are using
338+
"module": "commonjs"
339+
}
340+
}
341+
```
330342
### Hydration issues and Remix Development tools crashing with i18n
331343

332344
Make sure you're passing the same context to the `i18n.getRouteNamespaces()` function as you're passing to the `<RemixServer>` component.

0 commit comments

Comments
 (0)