Skip to content

Commit

Permalink
feature/2022-11-25-asktug-home: use @rollup/plugin-typescript to repl…
Browse files Browse the repository at this point in the history
…ace rollup-plugin-ts
  • Loading branch information
cw1997 committed Feb 13, 2023
1 parent 9f4be46 commit 73ea9c8
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 71 deletions.
2 changes: 1 addition & 1 deletion packages/site-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-ts": "^2.0.4",
"@rollup/plugin-typescript": "^11.0.0",
"swr": "^1.1.2",
"typescript": "~4.5.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/site-components/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import LessPluginNpmImport from 'less-plugin-npm-import'
import { defineConfig } from 'rollup'
import postcss from 'rollup-plugin-postcss'
import ts from 'rollup-plugin-ts'
import ts from "@rollup/plugin-typescript";
import svgr from '@svgr/rollup'
import json from '@rollup/plugin-json'
import { peerDependencies } from './package.json'
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-typescript": "^11.0.0",
"@types/luxon": "^2.0.9",
"@types/react": "^17.0.2",
"antd": "4.15.6",
Expand All @@ -27,7 +28,6 @@
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-ts": "^2.0.4",
"tslib": "^2.3.1",
"typescript": "~4.5.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ts from "rollup-plugin-ts";
import ts from "@rollup/plugin-typescript";
import { defineConfig } from 'rollup'
import copy from 'rollup-plugin-copy'
import postcss from 'rollup-plugin-postcss'
Expand Down
112 changes: 45 additions & 67 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73ea9c8

Please sign in to comment.