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

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

// The entry keys are UNPREFIXED, so these stay REAL webpack entries emitting
// assets/js/deactivation-survey.js and assets/css/deactivation-survey-style.css,
// which module.php enqueues by those paths on plugins.php. A `modules/` prefix
// would fold this into the SPA bundle (react-src/generated/moduleManifest.ts,
// Constitution XIII) — and the SPA never loads on plugins.php, so the survey
// would simply never run. Same reasoning as post-import-feedback's entry.
module.exports = {
	entry: {
		'deactivation-survey': path.resolve(__dirname, 'assets/js/index.tsx'),
		'deactivation-survey-style': path.resolve(__dirname, 'assets/scss/index.scss'),
	},
};

```
