build: fix father-build typing import
This commit is contained in:
parent
974358cc56
commit
a501a7d0fc
|
@ -1,4 +1,6 @@
|
|||
export default {
|
||||
import { IBundleOptions } from 'father-build/src/types';
|
||||
|
||||
const options: IBundleOptions = {
|
||||
esm: 'rollup',
|
||||
disableTypeCheck: false,
|
||||
cjs: { type: 'babel', lazy: true },
|
||||
|
@ -7,3 +9,5 @@ export default {
|
|||
'drip-table',
|
||||
],
|
||||
};
|
||||
|
||||
export default options;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IBundleOptions } from 'father-build';
|
||||
import { IBundleOptions } from 'father-build/src/types';
|
||||
|
||||
const options: IBundleOptions = {
|
||||
cjs: { type: 'rollup' },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"devDependencies": {
|
||||
"antd": ">=4.9.4",
|
||||
"@ant-design/icons": "^4.3.0",
|
||||
"father-build": "1.17.2",
|
||||
"father-build": "^1.20.4",
|
||||
"typescript": "^4.4.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IBundleOptions } from 'father-build';
|
||||
import { IBundleOptions } from 'father-build/src/types';
|
||||
import path from 'path';
|
||||
import eslint from '@rollup/plugin-eslint';
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"devDependencies": {
|
||||
"@types/cheerio": "0.22.22",
|
||||
"@types/react-window": "^1.8.5",
|
||||
"father-build": "1.17.2",
|
||||
"father-build": "^1.20.4",
|
||||
"typescript": "^4.4.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
Loading…
Reference in New Issue