Skip to content Skip to sidebar Skip to footer

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 u

Solution 1:

Use preserveModules: true flag will output identical directory structures from input. https://rollupjs.org/guide/en/


Post a Comment for "Is There Any Way To Preserve Directory Structure Of Bundles When Using Rollup With Code Splitting?"