# templately/trunk/modules/ai-editor/webpack.config.partial.js

Templately – Elementor &amp; Gutenberg Template Library: 6500+ Free &amp; Pro Ready Templates And Cloud!, version trunk. 15 lines.

- Page: https://pluginprobe.com/plugins/templately/trunk/code/modules/ai-editor/webpack.config.partial.js
- Raw: https://pluginprobe.com/plugins/templately/trunk/raw/modules/ai-editor/webpack.config.partial.js
- Modified: 2026-09-24T05:45:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/templately/trunk/code/modules/ai-editor/webpack.config.partial.js#L10-L20`.

```javascript
const path = require('path');

module.exports = {
	entry: {
		// Unprefixed entry key preserved (not `modules/ai-editor`). A `modules/`
		// key folds the code into the SPA bundle graph
		// (react-src/generated/moduleManifest.ts, Constitution XIII) and stops
		// emitting a standalone file — but module.php enqueues this bundle BY
		// PATH as `js/ai-editor.js`, and only on editor screens, so it must keep
		// existing as its own file and must NOT join the always-loaded SPA
		// bundle. Same exception as `elementor` / `gutenberg`.
		'ai-editor': path.resolve(__dirname, 'assets/js/index.tsx'),
	},
};

```
