Ghasem Bakhtiari
Ghasem Bakhtiari
Any updates on this?
@lukastaegert Thanks for the reply. I just tried `entryFileNames` both with and without the `preserveModules` option, and unfortunately got this error (both times): ``` [!] TypeError: name.replace is not a...
Yes it's returning some random string 😀 The important problem is that I put some logs inside the function and it's not called at all. The versions are: ```json "@rollup/plugin-alias":...
The update fixed the function problem 👍 But now when I try to rebuild the full path (to replace the `node_modules` with something else) with something like this: ```js entryFileNames:...
Exactly, the problem is that whatever we return from this function, it would only be appended to the end of the path of the file.
Well, currently the [isPlainPathFragment](https://github.com/rollup/rollup/blob/bd2973aa09dd27cda597020863fcdea929edc2ef/src/utils/relativeId.ts#L14) function returns `false` when the name starts with `"/"`, `"./"` or `"../"`, and then throws an error in [renderNamePattern](https://github.com/rollup/rollup/blob/19e50af3099c2f627451a45a84e2fa90d20246d5/src/utils/renderNamePattern.ts#L17). So instead of throwing, if we just...
any updates on this?