Skip to content

Webpack docs: what does api refer to? #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chriscalo opened this issue Oct 5, 2019 · 1 comment
Closed

Webpack docs: what does api refer to? #141

chriscalo opened this issue Oct 5, 2019 · 1 comment

Comments

@chriscalo
Copy link
Contributor

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?

@chriscalo
Copy link
Contributor Author

I think I figured it out and proposed a docs change in #142.

@Akryum Akryum closed this as completed Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants