Skip to content
Permalink
Browse files

Remove Styleguidist from the project build process

  • Loading branch information
dhruvkb committed Feb 12, 2020
1 parent 37ebcf1 commit 96fa34c3d18c5d339fab79556db2b1454e4ee0f0
Showing with 0 additions and 15 deletions.
  1. +0 −13 documentation/build.js
  2. +0 −2 documentation/variables.js
@@ -12,8 +12,6 @@ clearDir(variables.docsDir)

buildWebsite(variables.docsDir)

buildStyleguide()

buildStorybook()

console.log(chalk.green.inverse('\n✔ Done.'))
@@ -40,17 +38,6 @@ function buildWebsite () {
process.stdout.write(chalk.green('done\n'))
}

function buildStyleguide () {
process.stdout.write(chalk.yellow(
'Building styleguide to',
chalk.bold(`${variables.styleguideDir}`),
'... '
))
// Destination for build is specified in styleguide.config.js
build('vue-cli-service styleguidist:build')
process.stdout.write(chalk.green('done\n'))
}

function buildStorybook () {
process.stdout.write(chalk.yellow(
'Building storybook to',
@@ -8,13 +8,11 @@ const rootDir = path.resolve(__dirname, '..')

const srcDir = path.resolve(rootDir, 'src')
const docsDir = path.resolve(rootDir, 'docs')
const styleguideDir = path.resolve(docsDir, 'styleguide')
const storybookDir = path.resolve(docsDir, 'storybook')

module.exports = {
verboseName,
srcDir,
docsDir,
styleguideDir,
storybookDir
}

0 comments on commit 96fa34c

Please sign in to comment.
You can’t perform that action at this time.