| 1 |
const path = require('path'); |
| 2 |
|
| 3 |
// Routes-only bundle. ai-studio has no reducer to attach — this entry exists so the |
| 4 |
// module can self-register its /ai-sites route via |
| 5 |
// addFilter('templately.profile.routes', …) at boot, and so its RTK endpoints are |
| 6 |
// injected, instead of core importing either. See assets/js/index.tsx. |
| 7 |
module.exports = { |
| 8 |
entry: { |
| 9 |
'modules/ai-studio': path.resolve(__dirname, 'assets/js/index.tsx'), |
| 10 |
}, |
| 11 |
}; |
| 12 |
|