Closed fifv closed 1 year ago
Blocked by upstream: https://github.com/swc-project/swc/issues/6694
kdy1 assigned recently so maybe this can be fixed quickly.
Keeping open, but I would advice using linux line break everywhere anyway. I think this can be enforced by Prettier or git.
Fixed upstream
Reproduce:
yarn create vite
with React and Typescriptedit
App.tsx
like this:App.tsx
line break to CRLFconsole.log('App');
//
comment and function to consume top lines, but seems only/* */
break debug.Here is my
launch.json
:vite.config.ts
Sysinfo:
Click to expand!
``` System: OS: Windows 10 10.0.22623 CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics Memory: 10.07 GB / 31.87 GB Binaries: Node: 18.12.1 - ~\AppData\Local\Temp\xfs-dce58dc0\node.CMD Yarn: 3.3.0 - ~\AppData\Local\Temp\xfs-dce58dc0\yarn.CMD npm: 7.24.1 - D:\Documents\_JavaScript\node_global\npm.CMD Browsers: Edge: Spartan (44.22621.1037.0), Chromium (108.0.1462.54) Internet Explorer: 11.0.22621.1 npmPackages: @vitejs/plugin-react-swc: ^3.0.0 => 3.0.1 vite: ^4.0.0 => 4.0.2 ```