mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
build: fix vant/doc babel config (#4216)
This commit is contained in:
parent
f630b2f6d2
commit
a05a03b8b2
@ -40,7 +40,13 @@ module.exports = {
|
||||
{
|
||||
test: /\.(js|ts|tsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: 'babel-loader'
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
// enable sub-packages to find babel config
|
||||
options: {
|
||||
rootMode: 'upward'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.less$/,
|
||||
|
@ -71,7 +71,7 @@
|
||||
"@babel/preset-typescript": "^7.3.3",
|
||||
"@types/jest": "^24.0.16",
|
||||
"@vant/cli": "^1.0.4",
|
||||
"@vant/doc": "^2.5.1",
|
||||
"@vant/doc": "^2.5.2",
|
||||
"@vant/eslint-config": "^1.2.5",
|
||||
"@vant/markdown-loader": "^2.2.0",
|
||||
"@vant/markdown-vetur": "^1.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vant/doc",
|
||||
"version": "2.5.1",
|
||||
"version": "2.5.2",
|
||||
"description": "vant document template",
|
||||
"main": "./lib/index.js",
|
||||
"publishConfig": {
|
||||
|
@ -1194,10 +1194,10 @@
|
||||
shelljs "^0.8.2"
|
||||
signale "^1.4.0"
|
||||
|
||||
"@vant/doc@^2.5.1":
|
||||
version "2.5.1"
|
||||
resolved "https://registry.yarnpkg.com/@vant/doc/-/doc-2.5.1.tgz#7c17e2dd20533f6359b526c20c75eb27a031cfb7"
|
||||
integrity sha512-Ff5ach0ZR0tCcfGq0pnjsa2OPhg1zZ3zGE5OKMU3uFrld9sRXFqiB1TL4WpqtGmIA7UqmBVS+4MNt0Lo62knMg==
|
||||
"@vant/doc@^2.5.2":
|
||||
version "2.5.2"
|
||||
resolved "https://registry.yarnpkg.com/@vant/doc/-/doc-2.5.2.tgz#fbc51239eab5fcbeb31aac67fe285378238c1ba7"
|
||||
integrity sha512-Pz+bNXBv09Sr7T8G2gNejp6XRsDsHqdMMr/O/cq9ylrNfQToPS+cPkerjf296b2b8/aLDGO9nVNuA9Gu84A2Qw==
|
||||
|
||||
"@vant/eslint-config@^1.2.5":
|
||||
version "1.2.5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user