Is there any way to preserve directory structure of bundles when using rollup with code splitting?
问题 Context: Given a project structure like this: ┌ src ├─┬ a │ └── module.js ├─┬ b │ └── module.js └── util.js Where both module.js files import util.js , using the following configuration: export default { experimentalCodeSplitting: true, input: [ 'src/a/module.js', 'src/b/module.js' ], output: { dir: 'bundle', format: 'esm' } }; The following structure is output: ┌ bundle ├── chunk-af6d88c4.js ├── module.js └── module2.js Problem: When using code splitting to reduce redundant code across a