build: fix father-build typing import

This commit is contained in:
Emil Zhai 2021-12-13 03:59:43 +08:00
parent 974358cc56
commit a501a7d0fc
No known key found for this signature in database
GPG Key ID: 780B385DB72F1EBD
6 changed files with 967 additions and 110 deletions

View File

@ -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;

View File

@ -1,4 +1,4 @@
import { IBundleOptions } from 'father-build';
import { IBundleOptions } from 'father-build/src/types';
const options: IBundleOptions = {
cjs: { type: 'rollup' },

View File

@ -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": {

View File

@ -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';

View File

@ -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": {

1063
yarn.lock

File diff suppressed because it is too large Load Diff