perf: 优化
Showing
index.html
deleted
100644 → 0
... | ... | @@ -2,17 +2,21 @@ |
"name": "rollup-test", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"main": "./dist/js/main.cjs.js", | ||
"module": "./dist/js/main.es.js", | ||
"browser": "./dist/js/main.umd.js", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
"types": "./dist/js/index.d.ts", | ||
"import": "./dist/js/main.es.js", | ||
"require": "./dist/js/main.cjs.js" | ||
} | ||
}, | ||
"scripts": { | ||
"build": "rollup -c" | ||
"build": "rollup -c", | ||
"test:es":"http-server -a localhost -o /test/es.html", | ||
"test:umd":"http-server -a localhost -o /test/umd.html", | ||
"test:cjs":"node ./test/cjs.js" | ||
}, | ||
"keywords": [], | ||
"author": "KunQuan", | ||
... | ... | @@ -25,6 +29,7 @@ |
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^14.1.0", | ||
"@rollup/plugin-typescript": "^8.5.0", | ||
"http-server": "^14.1.1", | ||
"rollup": "^2.79.1", | ||
"rollup-plugin-delete": "^2.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
... | ... |
Please
register
or
sign in
to comment