mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-18 23:39:11 +08:00
- Introduce `/* dynamicChunkName: "foo" */` support via a rolldown plugin. This allows us to intentionally name our dynamic `import()` chunks - Add specific logic for Embroider routes and ember-inspector dynamic chunks - For non-entrypoint chunks, stop rolldown auto-generating a potentially confusing name. Just name it `chunk-[hash]`. - Remove `preserveEntrySignatures: "strict"` config. This was added in the early days of Vite experimentation, but doesn't seem to be required any more. Switching back to the default reduces the number of chunks in our build |
||
|---|---|---|
| .. | ||
| babel-transform-module-renames.js | ||
| discourse-chunk-names.mjs | ||
| dynamic-chunk-url-plugin.mjs | ||
| embroider-vite-resolver-options.mjs | ||
| maybe-babel.mjs | ||
| optimized-ember.mjs | ||
| webpack-customize-chunk-url-plugin.js | ||
| with-side-watch.js | ||
| wrap-test-modules-plugin.mjs | ||