Closed Aderafif closed 12 months ago
import typescript from "rollup/plugin-typescript2";
You have a typo. That is not the correct import (or package).
rollup-plugin-typescript2
is the package.
rollup/
means that you are trying to look within a subpath of the rollup
package.
I got this error when trying to do npm rollup -c
Tried to downgrade to version 0.31.0 and still facing the same issue
Versions
├── rollup-plugin-dts@6.0.0 ├── rollup-plugin-typescript2@0.35.0 ├── rollup@3.28.1 ├── tslib@2.6.2
On other issue, it said solved on rollup-plugin-typescript2 v 0.31.0
rollup.config.mjs