| 1 |
const path = require('path'); |
| 2 |
|
| 3 |
// Folds into the one first-party bundle via react-src/generated/moduleManifest.ts |
| 4 |
// (Constitution XIII) — no separate script is emitted or enqueued. The code |
| 5 |
// self-gates on window.templately.utilities (injected by module.php), so it is |
| 6 |
// inert on sites where the module did not boot. |
| 7 |
module.exports = { |
| 8 |
entry: { |
| 9 |
'modules/utilities': path.resolve(__dirname, 'assets/js/index.tsx'), |
| 10 |
}, |
| 11 |
}; |
| 12 |
|