Open avxkim opened 1 year ago
nx serve appname causes an error: " TS18002: The 'files' list in config file 'tsconfig.json' is empty."
nx serve appname
no errors
nx g @nx-plus/vue:lib <name>
import type { Module } from '@nuxt/types' import { resolve } from 'path'
const sharedModule: Module = function () { this.addPlugin({ src: resolve(__dirname, 'lib/plugins/plugin.js'), mode: 'client', }) }
export default sharedModule
4. plugin.ts won't be transpiled, so we will get an error in the title. But if use plain js file: plugin.js, then there no errors, because nothing should be transpiled. 5. Start a project
Current Behavior
nx serve appname
causes an error: " TS18002: The 'files' list in config file 'tsconfig.json' is empty."Expected Behavior
no errors
Steps to Reproduce
nx g @nx-plus/vue:lib <name>
const sharedModule: Module = function () { this.addPlugin({ src: resolve(__dirname, 'lib/plugins/plugin.js'), mode: 'client', }) }
export default sharedModule