@ywfe/fe-tools 1.0.2-beta.12 → 1.0.2-beta.13

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@ywfe/fe-tools",
4
- "version": "1.0.2-beta.12",
4
+ "version": "1.0.2-beta.13",
5
5
  "description": "工具函数库",
6
6
  "main": "./lib/ywfe-tools.esm.js",
7
7
  "module": "./lib/ywfe-tools.esm.js",
package/rollup.config.js CHANGED
@@ -14,7 +14,7 @@ const isProd = process.env.NODE_ENV === 'production';
14
14
  const formats = {
15
15
  commonjs: {
16
16
  format: 'cjs',
17
- file: 'lib/ywfe-tools.esm.js',
17
+ file: 'lib/ywfe-tools.cjs.js',
18
18
  sourcemap: true,
19
19
  exports: 'named',
20
20
  },
@@ -4,7 +4,8 @@ interface userInput {
4
4
  rules?:string,
5
5
  }
6
6
  async function userInputToJson({input}:{input:userInput}){
7
- const {userInput, rules} = input
7
+ console.log(input)
8
+ //const {userInput, rules} = input
8
9
  //@ts-ignore
9
10
  const res = await feTools.request({
10
11
  input:{