Relative path not working properly
fatihaziz opened this issue · comments
Hello,
It seems the relative path not working as expected,
Why the output of src/utils/index.ts
become dist/utils/utils/index.cjs
sample rollup.config.js
import multiInput from 'rollup-plugin-multi-input';
import rollupPluginTypescript from "@rollup/plugin-typescript"
export default {
input: ['src/index.ts', 'src/utils/index.ts'],
output: {
format: 'esm',
dir: 'dist'
},
plugins: [
multiInput({ relative: 'src/' }),
rollupPluginTypescript()
],
};
Thank you for your attention.
I'm experiencing this issue as well
@fatihaziz what version of rollup are you using?