PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / trunk
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! vtrunk
3.8.0 3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 All 112 releases
templately / modules / deactivation-survey / webpack.config.partial.js

webpack.config.partial.js in Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! trunk, at modules/deactivation-survey/webpack.config.partial.js

15 lines 696 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const path = require('path');
2
3 // The entry keys are UNPREFIXED, so these stay REAL webpack entries emitting
4 // assets/js/deactivation-survey.js and assets/css/deactivation-survey-style.css,
5 // which module.php enqueues by those paths on plugins.php. A `modules/` prefix
6 // would fold this into the SPA bundle (react-src/generated/moduleManifest.ts,
7 // Constitution XIII) — and the SPA never loads on plugins.php, so the survey
8 // would simply never run. Same reasoning as post-import-feedback's entry.
9 module.exports = {
10 entry: {
11 'deactivation-survey': path.resolve(__dirname, 'assets/js/index.tsx'),
12 'deactivation-survey-style': path.resolve(__dirname, 'assets/scss/index.scss'),
13 },
14 };
15