# templately/trunk/modules/wp-abilities-api/webpack.config.partial.js

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

- Page: https://pluginprobe.com/plugins/templately/trunk/code/modules/wp-abilities-api/webpack.config.partial.js
- Raw: https://pluginprobe.com/plugins/templately/trunk/raw/modules/wp-abilities-api/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/wp-abilities-api/webpack.config.partial.js#L10-L20`.

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

// Folds into the one first-party bundle via react-src/generated/moduleManifest.ts
// (Constitution XIII) — it no longer emits assets/js/modules/wp-abilities-api.js, and
// Admin::enqueue_module_assets() that used to glob-enqueue it is gone. The code self-gates
// on window.templately.mcp before
// registering the Settings → MCP tab, so it is inert on sites without the localized data
// (injected by REST/Connection.php).
module.exports = {
	entry: {
		'modules/wp-abilities-api': path.resolve(__dirname, 'assets/js/index.tsx'),
	},
};

```
