| 1 |
const path = require('path'); |
| 2 |
|
| 3 |
module.exports = { |
| 4 |
entry: { |
| 5 |
// Original entry key preserved (not `modules/elementor-integration`) — the |
| 6 |
// PHP side (Platform/Elementor.php::scripts()) hardcodes the enqueue as |
| 7 |
// `js/elementor.js` / `css/elementor.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. |
| 10 |
elementor: path.resolve(__dirname, 'assets/js/index.ts'), |
| 11 |
}, |
| 12 |
}; |
| 13 |
|