Skip to content

Commit

Permalink
build: fix build helper (element-plus#3727)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored Sep 29, 2021
1 parent 45ec48e commit ac580d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build/helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import path from 'path'
import helper from 'components-helper'
import { epPackage, epOutput } from './utils/paths'
import { epPackage, epOutput, projRoot } from './utils/paths'
import { getPackageManifest } from './utils/pkg'
import type { TaskFunction } from 'gulp'
import type { InstallOptions } from 'components-helper/lib/type'
Expand Down Expand Up @@ -61,7 +62,10 @@ export const buildHelper: TaskFunction = (done) => {
helper({
name: name!,
version: _version,
entry: 'docs/en-US/component/!(datetime-picker|message-box|message).md',
entry: `${path.resolve(
projRoot,
'docs/en-US/component'
)}/!(datetime-picker|message-box|message).md`,
outDir: epOutput,
reComponentName,
reDocUrl,
Expand Down

0 comments on commit ac580d6

Please sign in to comment.