feat: request plugin build

This commit is contained in:
bac-joker 2020-12-02 12:24:29 +08:00
parent 1f451393b0
commit 9b7ee68b3a
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,3 @@
export default {
target: 'browser',
cjs: { type: 'rollup', lazy: false },
esm: { type: 'rollup' },
disableTypeCheck: false,
};

View File

@ -2,14 +2,16 @@
"name": "@webank/fes-plugin-request",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"module": "dist/index.esm.js",
"keywords": [],
"author": "",
"type": "module",
"license": "MIT",
"peerDependencies": {
"@webank/fes": "^2.0.0"