Skip to content

Commit 73ea9c8

Browse files
committed
feature/2022-11-25-asktug-home: use @rollup/plugin-typescript to replace rollup-plugin-ts
1 parent 9f4be46 commit 73ea9c8

File tree

5 files changed

+49
-71
lines changed

5 files changed

+49
-71
lines changed

packages/site-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"rollup-plugin-copy": "^3.4.0",
3939
"rollup-plugin-delete": "^2.0.0",
4040
"rollup-plugin-postcss": "^4.0.2",
41-
"rollup-plugin-ts": "^2.0.4",
41+
"@rollup/plugin-typescript": "^11.0.0",
4242
"swr": "^1.1.2",
4343
"typescript": "~4.5.4"
4444
},

packages/site-components/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import LessPluginNpmImport from 'less-plugin-npm-import'
22
import { defineConfig } from 'rollup'
33
import postcss from 'rollup-plugin-postcss'
4-
import ts from 'rollup-plugin-ts'
4+
import ts from "@rollup/plugin-typescript";
55
import svgr from '@svgr/rollup'
66
import json from '@rollup/plugin-json'
77
import { peerDependencies } from './package.json'

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"author": "",
1313
"license": "MIT",
1414
"devDependencies": {
15+
"@rollup/plugin-typescript": "^11.0.0",
1516
"@types/luxon": "^2.0.9",
1617
"@types/react": "^17.0.2",
1718
"antd": "4.15.6",
@@ -27,7 +28,6 @@
2728
"rollup-plugin-copy": "^3.4.0",
2829
"rollup-plugin-delete": "^2.0.0",
2930
"rollup-plugin-postcss": "^4.0.2",
30-
"rollup-plugin-ts": "^2.0.4",
3131
"tslib": "^2.3.1",
3232
"typescript": "~4.5.4"
3333
},

packages/ui/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ts from "rollup-plugin-ts";
1+
import ts from "@rollup/plugin-typescript";
22
import { defineConfig } from 'rollup'
33
import copy from 'rollup-plugin-copy'
44
import postcss from 'rollup-plugin-postcss'

pnpm-lock.yaml

Lines changed: 45 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)