PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.8.0
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.8.0
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 / post-import-feedback / webpack.config.partial.js

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

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