Skip to content

Commit

Permalink
fix(ui): fix browserlist
Browse files Browse the repository at this point in the history
affects: @varlet/cli, @varlet/ui
  • Loading branch information
haoziqaq committed Jul 31, 2021
1 parent f21a082 commit 3f4cfeb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 24 deletions.
1 change: 0 additions & 1 deletion packages/varlet-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"gitHead": "7638540be5f5159578bc7a616e365f1bb6d0494f",
"dependencies": {
"@babel/core": "^7.14.8",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.8",
"@babel/preset-typescript": "^7.14.5",
"@commitlint/cli": "^11.0.0",
Expand Down
11 changes: 10 additions & 1 deletion packages/varlet-cli/src/config/webpack.base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,16 @@ export const BASE_CONFIG = {
rules: [
{
test: /\.vue$/,
use: ['vue-loader'],
use: [
{
loader: 'vue-loader',
options: {
compilerOptions: {
preserveWhitespace: false,
},
},
},
],
},
{
test: /\.(js|ts|jsx|tsx)$/,
Expand Down
6 changes: 3 additions & 3 deletions packages/varlet-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
"test:watch": "varlet-cli jest -w"
},
"peerDependencies": {
"vue": "^3.1.4"
"vue": "^3.0.0"
},
"gitHead": "04cbbd571a061f5d5651515132a8ef079de5673e",
"devDependencies": {
"@varlet/cli": "^1.13.3"
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"@varlet/icons": "^1.0.0",
"dayjs": "^1.10.4",
"decimal.js": "^10.2.1"
}
},
"browserslist": ["Chrome >= 51", "iOS >= 10"]
}
19 changes: 0 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1034,18 +1034,6 @@
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"

"@babel/plugin-transform-runtime@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.5.tgz#30491dad49c6059f8f8fa5ee8896a0089e987523"
integrity sha512-fPMBhh1AV8ZyneiCIA+wYYUH1arzlXR1UMcApjvchDhfKxhy2r2lReJv8uHEyihi4IFIGlr1Pdx7S5fkESDQsg==
dependencies:
"@babel/helper-module-imports" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
babel-plugin-polyfill-corejs2 "^0.2.2"
babel-plugin-polyfill-corejs3 "^0.2.2"
babel-plugin-polyfill-regenerator "^0.2.2"
semver "^6.3.0"

"@babel/plugin-transform-shorthand-properties@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz#97f13855f1409338d8cadcbaca670ad79e091a58"
Expand Down Expand Up @@ -1219,13 +1207,6 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.13.10":
version "7.13.10"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d"
integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==
dependencies:
regenerator-runtime "^0.13.4"

"@babel/template@^7.0.0", "@babel/template@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4"
Expand Down

0 comments on commit 3f4cfeb

Please sign in to comment.