# templately/trunk/modules/post-import-feedback/webpack.config.partial.js

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

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

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

// Entry key is `post-import-feedback` (not `dashboard`) to clarify that this entry
// point is specific to the feedback feature, not a general "dashboard" bundle (spec
// 027's own Build Artifacts note). Ships in production (no devOnly flag) — the widget
// is eligibility-gated at enqueue time in PHP, not excluded from the build.
module.exports = {
	entry: {
		// The entry KEY stays 'post-import-feedback' — unprefixed, so this stays a REAL
		// webpack entry emitting assets/js/post-import-feedback.js, which Widget.php enqueues
		// by that path on the dashboard. A `modules/` prefix would fold it into the SPA
		// bundle (react-src/generated/moduleManifest.ts, Constitution XIII) and break that
		// enqueue. Only the SOURCE path changed when the entry became TypeScript.
		'post-import-feedback': path.resolve(__dirname, 'assets/js/index.tsx'),
		'post-import-feedback-style': path.resolve(__dirname, 'assets/scss/index.scss'),
	},
};

```
