Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Conversation

@txantslusam
Copy link

Hi! I am in process of building library components. I decided to use rollup and a set of plugins including rollup-plugin-rebase to manage assets and rollup-plugin-multi-input to parse code. It appears that these two plugins conflicting between each other and in result, assets paths points to non existing directories.

eg.

import asset from '../../components/example/assets/asset.jpg'

instead of

import asset from '../../assets/asset.jpg'

For every entry, root was changing and in result it ends with folder of last file to parse.

With this change, plugin can detect, if we are using rollup-plugin-multi-input. Then root is setting only once at start.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant