Skip to content

Commit

Permalink
build: add ant adaptor
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpy committed May 31, 2020
1 parent 5e92efa commit 3a89c78
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib
25 changes: 25 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,31 @@ const config = [
],
plugins: [...commonPlugins],
external: commonExternal
},

// ant-design-form-adaptor
{
input: 'src/ant-form-adaptor.js',
output: [
{
file: 'lib/adaptor/antd.js',
format: 'cjs',
exports: 'named'
}
],
plugins: [...commonPlugins],
external: commonExternal
},
{
input: 'src/ant-form-adaptor.js',
output: [
{
file: 'lib/adaptor/antd.esm.js',
format: 'esm'
}
],
plugins: [...commonPlugins],
external: commonExternal
}
];

Expand Down

0 comments on commit 3a89c78

Please sign in to comment.