We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935f5e4 commit bcb334fCopy full SHA for bcb334f
services/backend/src/server.ts
@@ -54,10 +54,9 @@ export const createServer = async () => {
54
const isDevelopment = process.env.NODE_ENV !== 'production';
55
const pluginManager = new PluginManager({
56
paths: [
57
- isDevelopment
+ process.env.PLUGINS_PATH || (isDevelopment
58
? path.join(process.cwd(), 'src', 'plugins')
59
- : path.join(__dirname, 'plugins'),
60
- process.env.PLUGINS_PATH || path.join(process.cwd(), 'plugins'),
+ : path.join(__dirname, 'plugins')),
61
],
62
plugins: {}
63
})
0 commit comments