diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..a65b417 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +lib diff --git a/rollup.config.js b/rollup.config.js index afb1e2c..f2ac88d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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 } ];