Skip to content

Commit

Permalink
fix: use unminified version by default
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed May 7, 2019
1 parent 28a2d19 commit 51c8df5
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 17 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.0.0",
"description": "Prefetch the route components of router-link in viewport.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"module": "dist/index.esm.js",
"files": [
"dist"
],
"scripts": {
"test": "npm run lint",
"lint": "xo",
"build": "bili --format esm,cjs --minify --minimal",
"build": "bili --format esm,cjs,esm-min --minimal",
"prepublishOnly": "npm run build",
"example": "poi example/index.js --serve --jsx vue",
"commit": "git-cz"
Expand Down
64 changes: 49 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,13 @@
resolved "https://registry.npmjs.org/@types/q/-/q-1.5.1.tgz#48fd98c1561fe718b61733daed46ff115b496e18"
integrity sha512-eqz8c/0kwNi/OEHQfvIuJVLTst3in0e7uTKeuY+WL/zfKn0xVujOTp42bS/vUUokhK5P2BppLd9JXMOMHcgbjA==

"@types/resolve@0.0.8":
version "0.0.8"
resolved "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194"
integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==
dependencies:
"@types/node" "*"

"@vue/component-compiler-utils@^2.4.0":
version "2.5.0"
resolved "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-2.5.0.tgz#411846d582d393f701f747517ddd29275ce64ca4"
Expand Down Expand Up @@ -1569,10 +1576,10 @@ big.js@^5.2.2:
resolved "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==

bili@^4.0.9:
version "4.0.9"
resolved "https://registry.npmjs.org/bili/-/bili-4.0.9.tgz#810fcc308668db20936e2360eb58f666ad6f12a2"
integrity sha512-DqNqXXAJ1CiKHii/SWoRTJwK/jC88RkuE4IXPy8oXk0vNTtQ+n47xzypz4N3Gm7FWADa0epIv/pkxY2NqQ9iEQ==
bili@^4.7.3:
version "4.7.3"
resolved "https://registry.npmjs.org/bili/-/bili-4.7.3.tgz#bd6dfda950985b3bb934b0379d3ea25ccb54dd4a"
integrity sha512-Gw44rVG8Cod2OI2XJP1HzO0JgL1wlBBwzGZTHSg06Gu15M71dq1I3Yxh8E+dteiyZrzGaN/OP/bxzKvQIPrGFw==
dependencies:
"@babel/core" "^7.2.2"
"@babel/plugin-proposal-object-rest-spread" "^7.3.1"
Expand All @@ -1582,15 +1589,15 @@ bili@^4.0.9:
"@babel/preset-typescript" "^7.1.0"
babel-plugin-transform-async-to-promises "^0.8.4"
chalk "^2.4.2"
gzip-size "^5.0.0"
ora "^3.0.0"
rollup "^1.1.2"
rollup-plugin-babel "^4.3.2"
rollup-plugin-buble "^0.19.6"
rollup-plugin-commonjs "^9.2.0"
rollup-plugin-hashbang "^2.2.1"
rollup-plugin-hashbang "^2.2.2"
rollup-plugin-json "^3.1.0"
rollup-plugin-postcss "^2.0.1"
rollup-plugin-node-resolve "^4.0.1"
rollup-plugin-postcss "^2.0.3"
rollup-plugin-replace "^2.1.0"
rollup-plugin-terser "^4.0.2"

Expand Down Expand Up @@ -1835,6 +1842,11 @@ builtin-modules@^1.0.0:
resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=

builtin-modules@^3.1.0:
version "3.1.0"
resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484"
integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==

builtin-status-codes@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
Expand Down Expand Up @@ -5487,6 +5499,11 @@ is-js-type@^2.0.0:
dependencies:
js-types "^1.0.0"

is-module@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=

is-npm@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4"
Expand Down Expand Up @@ -9097,6 +9114,13 @@ resolve@^1.1.6, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1, resolve@^1.9.0:
dependencies:
path-parse "^1.0.6"

resolve@^1.10.0:
version "1.10.1"
resolved "https://registry.npmjs.org/resolve/-/resolve-1.10.1.tgz#664842ac960795bbe758221cdccda61fb64b5f18"
integrity sha512-KuIe4mf++td/eFb6wkaPbMDnP6kObCaEtIDuHOUED6MNUo4K670KZUHuuvYPZDxNF0WVLw49n06M2m2dXphEzA==
dependencies:
path-parse "^1.0.6"

restore-cursor@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
Expand Down Expand Up @@ -9176,10 +9200,10 @@ rollup-plugin-commonjs@^9.2.0:
resolve "^1.8.1"
rollup-pluginutils "^2.3.3"

rollup-plugin-hashbang@^2.2.1:
version "2.2.1"
resolved "https://registry.npmjs.org/rollup-plugin-hashbang/-/rollup-plugin-hashbang-2.2.1.tgz#e4a5ceaa864c65f7f4f1f6e90b909d41456a7294"
integrity sha512-xKOlwhPRsau7cBEf0Qq1f26DxcFUUUcHPBytfd+F3EvbbAFmyu40XCq3rozgH/Z0QN2BOE2DEGJp3QxLS+x8Xw==
rollup-plugin-hashbang@^2.2.2:
version "2.2.2"
resolved "https://registry.npmjs.org/rollup-plugin-hashbang/-/rollup-plugin-hashbang-2.2.2.tgz#971fc49b452e63f9dfdc75f79ae7256b3485e750"
integrity sha512-Yxw9ogeK3KncG1e4CvK0I0IKVBNeJP+DTZS3bExGTfGjw0WP1C7xxbY7LtRd8IKx4fFf53hz7XR1XG7UV6xqCw==
dependencies:
magic-string "^0.22.4"

Expand All @@ -9190,10 +9214,20 @@ rollup-plugin-json@^3.1.0:
dependencies:
rollup-pluginutils "^2.3.1"

rollup-plugin-postcss@^2.0.1:
version "2.0.1"
resolved "https://registry.npmjs.org/rollup-plugin-postcss/-/rollup-plugin-postcss-2.0.1.tgz#d3867b973a6810164730553eb6d9d06375ea4454"
integrity sha512-23SufVXOceUu0xiVB5CF1CIRkBbRVYVmTWViBsTNpBi/F5KhXY0Fc8W5GZViNzUI2e14Fhdlb3UmIQtCs3iUKg==
rollup-plugin-node-resolve@^4.0.1:
version "4.2.3"
resolved "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.2.3.tgz#638a373a54287d19fcc088fdd1c6fd8a58e4d90a"
integrity sha512-r+WaesPzdGEynpLZLALFEDugA4ACa5zn7bc/+LVX4vAXQQ8IgDHv0xfsSvJ8tDXUtprfBtrDtRFg27ifKjcJTg==
dependencies:
"@types/resolve" "0.0.8"
builtin-modules "^3.1.0"
is-module "^1.0.0"
resolve "^1.10.0"

rollup-plugin-postcss@^2.0.3:
version "2.0.3"
resolved "https://registry.npmjs.org/rollup-plugin-postcss/-/rollup-plugin-postcss-2.0.3.tgz#1fd5b7e1fc7545cb0084d9c99d11b259e41a05e6"
integrity sha512-d12oKl6za/GGXmlytzVPzzTdPCKgti/Kq2kNhtfm5vv9hkNbyrTvizMBm6zZ5rRWX/sIWl3znjIJ8xy6Hofoeg==
dependencies:
chalk "^2.4.2"
concat-with-sourcemaps "^1.0.5"
Expand Down

0 comments on commit 51c8df5

Please sign in to comment.