rgehbt
rgehbt
Here is my manually method in IDEA v2023.2.1: File-> Project Structure -> Project Setting.Modules ->[unfold 'OnJava8-Examples'] -> ITEM.main -> [edit 'Source Folders' to that ITEM-NAME] next you can follow by...
The first problem I find is from [nuxt-monaco-editor](https://github.com/e-chan1007/nuxt-monaco-editor/pull/53), and I search the solve at [nuxt/sitemap](https://github.com/nuxt-modules/sitemap/blob/15b3d6d9783832f3f48e0b2b220c837c4dcadfaf/package.json#L24) or [nuxt-modules/tailwindcss](https://github.com/nuxt-modules/tailwindcss/blob/32c811d2233f9250d56fd1bb9fda381d91513ed1/package.json#L14) with [issue](https://github.com/nuxt-modules/tailwindcss/pull/724) Sometime, the module haven't `module.d.mts` or `module.d.cts` but typically includes `types.d.ts`....
> What is this fixing? I added the informations.
> Can you please add a test? > > We use tsd I cannot provide the test, but I can give a minimal reproduction.
Do you review the Reproduction? I think I have revealed it: there is using `"type": "commonjs"`, if changed to `"type": "module"` it will break. May we really ought to wait...
If the path as string, it can work, but it has been written to a file. Backslashes are transformed. For a Win32-style path, should prepare `\\\\unplugin-vue-router\\\\`.
By the example of playground ``` beforeWriteFiles(root) { root.insert('/from-root', join(__dirname, './src/pages/index.vue')) } ``` In windows, `__dirname` like `C:\\Users\\USERNAME\\unplugin-vue-router`, the `path.join` follow the style. Like '\n' be newLine, the generated code...
A reproduction is provided