- replace typescript plugin
This commit is contained in:
parent
b2e4f0f8e2
commit
b60cf5b0fa
@ -25,9 +25,9 @@
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^11.0.2",
|
||||
"@rollup/plugin-node-resolve": "^7.1.1",
|
||||
"@rollup/plugin-typescript": "^8.3.0",
|
||||
"@types/jest": "^27.0.2",
|
||||
"@types/joi": "^17.2.3",
|
||||
"@wessberg/rollup-plugin-ts": "^1.3.12",
|
||||
"jest": "^27.3.1",
|
||||
"rollup": "^2.48.0",
|
||||
"rollup-plugin-bundle-size": "^1.0.3",
|
||||
|
@ -1,4 +1,4 @@
|
||||
import typescript from "@wessberg/rollup-plugin-ts";
|
||||
import typescript from "@rollup/plugin-typescript";
|
||||
import commonjs from "@rollup/plugin-commonjs";
|
||||
import external from "rollup-plugin-peer-deps-external";
|
||||
import { camelCase } from "lodash";
|
||||
@ -38,7 +38,9 @@ export default {
|
||||
}),
|
||||
external(),
|
||||
resolve(),
|
||||
typescript(),
|
||||
typescript({
|
||||
tsconfig: "./tsconfig.json",
|
||||
}),
|
||||
uglify(),
|
||||
bundleSize(),
|
||||
commonjs({
|
||||
|
@ -3,6 +3,7 @@
|
||||
"outDir": "./build",
|
||||
"module": "esnext",
|
||||
"target": "es5",
|
||||
"declarationDir": ".",
|
||||
"baseUrl": "src",
|
||||
"lib": ["es6", "dom", "es2016", "es2017", "es2019"],
|
||||
"sourceMap": true,
|
||||
@ -23,5 +24,5 @@
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "build", "node_modules/@types/history/index.d.ts:6:1"]
|
||||
"exclude": ["node_modules", "build"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user