打包到指定文件夹,更新到3.0.1的api
This commit is contained in:
parent
414730dde3
commit
61d5f551fd
3 changed files with 29 additions and 14 deletions
|
@ -36,7 +36,7 @@ module.exports = merge(webpackBaseConfig, {
|
|||
}),
|
||||
new UglifyJsPlugin({
|
||||
parallel: true,
|
||||
sourceMap: true,
|
||||
sourceMap: true
|
||||
}),
|
||||
new CompressionPlugin({
|
||||
asset: '[path].gz[query]',
|
||||
|
@ -45,8 +45,11 @@ module.exports = merge(webpackBaseConfig, {
|
|||
threshold: 10240,
|
||||
minRatio: 0.8
|
||||
}),
|
||||
new CopyWebpackPlugin([{
|
||||
from: __dirname + '/../types'
|
||||
}])
|
||||
new CopyWebpackPlugin([
|
||||
{
|
||||
from: path.resolve(__dirname, './../types'),
|
||||
to: path.resolve(__dirname, './../dist/types')
|
||||
}
|
||||
])
|
||||
]
|
||||
});
|
||||
|
|
6
types/select.d.ts
vendored
6
types/select.d.ts
vendored
|
@ -74,10 +74,10 @@ export declare class Select extends Vue {
|
|||
*/
|
||||
'label-in-value'?: boolean;
|
||||
/**
|
||||
* 弹窗的展开方向,可选值为 bottom 和 top
|
||||
* @default bottom
|
||||
* 弹窗的展开方向,可选值为 top、bottom、top-start、bottom-start、top-end、bottom-end
|
||||
* @default bottom-start
|
||||
*/
|
||||
placement?: 'bottom' | 'top';
|
||||
placement?: 'bottom' | 'top' | 'top-start' | 'bottom-start' | 'top-end' | 'bottom-end';
|
||||
/**
|
||||
* 是否将弹层放置于 body 内,在 Tabs、带有 fixed 的 Table 列内使用时,
|
||||
* 建议添加此属性,它将不受父级样式影响,从而达到更好的效果
|
||||
|
|
26
yarn.lock
26
yarn.lock
|
@ -1572,6 +1572,12 @@ clean-css@4.1.11, clean-css@4.1.x:
|
|||
dependencies:
|
||||
source-map "0.5.x"
|
||||
|
||||
clean-webpack-plugin@^0.1.19:
|
||||
version "0.1.19"
|
||||
resolved "https://registry.yarnpkg.com/clean-webpack-plugin/-/clean-webpack-plugin-0.1.19.tgz#ceda8bb96b00fe168e9b080272960d20fdcadd6d"
|
||||
dependencies:
|
||||
rimraf "^2.6.1"
|
||||
|
||||
cli-cursor@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987"
|
||||
|
@ -1614,6 +1620,10 @@ clone@^2.1.1:
|
|||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb"
|
||||
|
||||
clone@^2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
|
||||
|
||||
co@^4.6.0:
|
||||
version "4.6.0"
|
||||
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
||||
|
@ -3526,12 +3536,12 @@ gulp-clean-css@^3.9.3:
|
|||
through2 "2.0.3"
|
||||
vinyl-sourcemaps-apply "0.2.1"
|
||||
|
||||
gulp-less@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/gulp-less/-/gulp-less-4.0.0.tgz#3c49deb96bdca913e436921ef792fb4c24296fcd"
|
||||
gulp-less@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/gulp-less/-/gulp-less-4.0.1.tgz#348c33a5dde7a207c5771b1d8261d1ac1021ceed"
|
||||
dependencies:
|
||||
accord "^0.29.0"
|
||||
less "2.6.x || ^3.0.0"
|
||||
less "2.6.x || ^3.7.1"
|
||||
object-assign "^4.0.1"
|
||||
plugin-error "^0.1.2"
|
||||
replace-ext "^1.0.0"
|
||||
|
@ -4678,9 +4688,11 @@ less-loader@^4.0.6:
|
|||
loader-utils "^1.1.0"
|
||||
pify "^3.0.0"
|
||||
|
||||
"less@2.6.x || ^3.0.0":
|
||||
version "3.0.4"
|
||||
resolved "https://registry.yarnpkg.com/less/-/less-3.0.4.tgz#d27dcedbac96031c9e7b76f1da1e4b7d83760814"
|
||||
"less@2.6.x || ^3.7.1":
|
||||
version "3.8.1"
|
||||
resolved "https://registry.yarnpkg.com/less/-/less-3.8.1.tgz#f31758598ef5a1930dd4caefa9e4340641e71e1d"
|
||||
dependencies:
|
||||
clone "^2.1.2"
|
||||
optionalDependencies:
|
||||
errno "^0.1.1"
|
||||
graceful-fs "^4.1.2"
|
||||
|
|
Loading…
Add table
Reference in a new issue