Skip to content

Commit 3136ab1

Browse files
committed
docs(README): add @rollup/pluign-typescript usage
1 parent 421604a commit 3136ab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ module.exports = {
127127
};
128128
```
129129

130-
## Rollup (with rollup-plugin-typescript2)
130+
## Rollup (with @rollup/plugin-typescript or rollup-plugin-typescript2)
131131

132132
```js
133133
// rollup.config.js
134-
import typescript from 'rollup-plugin-typescript2';
134+
import typescript from '@rollup/plugin-typescript';
135135
import optimizeConstEnum from 'ts-transformer-optimize-const-enum';
136136

137137
export default {

0 commit comments

Comments
 (0)