We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 625cabf commit c2dbaaaCopy full SHA for c2dbaaa
1 file changed
packages/generators/src/app/templates/app.tpl.ts
@@ -81,7 +81,7 @@ ${schema !== false ? `import { configurationValidator } from './configuration'`
81
import { logger } from './logger'
82
import { logError } from './hooks/log-error'
83
import { services } from './services/index'
84
-import { channels } from './channels'
+${transports.includes('websockets') ? `import { channels } from './channels'` : ''}
85
86
const app: Application = express(feathers())
87
0 commit comments