Skip to content

Webpack docs: what does api refer to? #141

Closed
@chriscalo

Description

@chriscalo

On the Webpack configuration page, it says the following:

In api.chainWebpack and api.configureWebpack, you have access to some environment variables:

  • process.env.VUE_CLI_SSR_TARGET: Either 'client' or 'server'
  • process.env.VUE_CLI_MODE: Vue CLI mode

What does api refer to? Is it possible to provide a complete example that shows where the api variable comes from?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions