Bug] Setting `module: esnext` behaves like i also set `moduleResolution` to `classic` · Issue #39555 · microsoft/TypeScript · GitHub
![reactjs - The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.ts(1343) - Stack Overflow reactjs - The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.ts(1343) - Stack Overflow](https://i.stack.imgur.com/cFvaQ.png)
reactjs - The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.ts(1343) - Stack Overflow
![Tim on Twitter: "@leeerob @samselikoff @frankstallone @nutlope To clarify: Tsconfig “target” is not used. Default is ESModules browsers and you can customize it using browserslist. Tsconfig “paths” does apply in Next.js." / Tim on Twitter: "@leeerob @samselikoff @frankstallone @nutlope To clarify: Tsconfig “target” is not used. Default is ESModules browsers and you can customize it using browserslist. Tsconfig “paths” does apply in Next.js." /](https://pbs.twimg.com/media/FlO_lYKWQAAghW8.jpg)
Tim on Twitter: "@leeerob @samselikoff @frankstallone @nutlope To clarify: Tsconfig “target” is not used. Default is ESModules browsers and you can customize it using browserslist. Tsconfig “paths” does apply in Next.js." /
![Webstorm not resolving module imports using typescript paths – IDEs Support (IntelliJ Platform) | JetBrains Webstorm not resolving module imports using typescript paths – IDEs Support (IntelliJ Platform) | JetBrains](https://intellij-support.jetbrains.com/hc/user_images/C2emwkHH4WydX6vWxEwyvA.png)