I wrote my rollup config in module format (hence used rollup.config.mjs as the file name). This works perfectly fine for rollup however when using nollup it complaints about the first import already import commonjs from '@rollup/plugin-commonjs'; and shows on console Invalid URL: @rollup/plugin-commonjs.
I wrote my rollup config in module format (hence used
rollup.config.mjsas the file name). This works perfectly fine for rollup however when using nollup it complaints about the first import alreadyimport commonjs from '@rollup/plugin-commonjs';and shows on consoleInvalid URL: @rollup/plugin-commonjs.