Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
chore: remove index.umd.js
Browse files Browse the repository at this point in the history
  • Loading branch information
b2nil committed Dec 4, 2020
1 parent a358d7c commit 39fac1e
Show file tree
Hide file tree
Showing 3 changed files with 459 additions and 437 deletions.
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"name": "taro-ui-vue3",
"version": "1.0.0-alpha.15",
"description": "Taro UI Rewritten in Vue 3.0",
"main:h5": "dist/index.esm.js",
"browser": "dist/index.umd.js",
"module": "dist/index.esm.js",
"main": "dist/index.js",
"source": "src/index.ts",
Expand All @@ -22,9 +20,11 @@
"files": [
"dist",
"lib/components",
"lib/composables",
"lib/utils",
"lib/index.js",
"lib/index.js.map",
"lib/tsconfig.build.tsbuildinfo",
"types",
"src/**/interface.ts",
"src/**/*.d.ts",
Expand Down Expand Up @@ -75,13 +75,17 @@
"ios >= 8"
],
"dependencies": {
"@babel/runtime": "^7.7.7",
"dayjs": "^1.8.29",
"lodash": "^4.17.19",
"vue": "^3.0.0"
"lodash": "^4.17.19"
},
"peerDependencies": {
"vue": "^3.0.0",
"@tarojs/taro": "^3.0.15",
"@tarojs/components": "^3.0.15"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/runtime": "^7.7.7",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
Expand All @@ -93,6 +97,7 @@
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^2.x",
"@typescript-eslint/parser": "^2.x",
"vue": "^3.0.0",
"@vue/compiler-sfc": "^3.0.0",
"babel-preset-taro": "^3.0.5",
"cross-env": "^7.0.2",
Expand Down
22 changes: 11 additions & 11 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ export default {
format: 'es',
sourcemap: true
},
{
file: resolveFile(Package.browser),
format: 'umd',
name: 'taro-ui-vue3',
sourcemap: true,
globals: {
'vue': 'vue',
'@tarojs/components': 'components',
'@tarojs/taro': 'Taro'
}
}
// {
// file: resolveFile(Package.browser),
// format: 'umd',
// name: 'taro-ui-vue3',
// sourcemap: true,
// globals: {
// 'vue': 'vue',
// '@tarojs/components': 'components',
// '@tarojs/taro': 'Taro'
// }
// }
],
external: externalPackages,
plugins: [
Expand Down
Loading

0 comments on commit 39fac1e

Please sign in to comment.