| 1 |
const path = require('path'); |
| 2 |
|
| 3 |
module.exports = { |
| 4 |
entry: { |
| 5 |
// Original entry key preserved (not `modules/gutenberg-integration`) — the |
| 6 |
// PHP side (Platform/Gutenberg.php::scripts()) hardcodes the enqueue as |
| 7 |
// `js/gutenberg.js` / `css/gutenberg.css`. A `modules/`-prefixed key would now |
| 8 |
// fold this into the SPA bundle (react-src/generated/moduleManifest.ts, |
| 9 |
// Constitution XIII) and delete the file that enqueue names. See PRD §1 R2 and |
| 10 |
// the identical precedent in modules/elementor-integration (spec 032). |
| 11 |
gutenberg: path.resolve(__dirname, 'assets/js/index.tsx'), |
| 12 |
}, |
| 13 |
}; |
| 14 |
|