• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vuepress / core / 36579459234
74%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 02:02PM UTC
Jobs 1
Files 102
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Sep 2026 02:00PM UTC coverage: 73.948%. Remained the same
36579459234

push

github

web-flow
fix(vuepress): set NODE_ENV before loading bundler in bin shorthands (#1723)

`vuepress-vite` and `vuepress-webpack` imported the bundler statically,
so it was evaluated before the `dev` / `build` command set the default
`NODE_ENV`. The bundlers load `vue` at module top level (e.g.
`@vuepress/bundlerutils` imports `ssrContextKey` from `vue`, and
`@vitejs/plugin-vue` / `vue-loader` load `vue` / `vue/compiler-sfc`),
and the CJS entries of `vue` and `@vue/*` pick their development or
production builds by `NODE_ENV` when first required.

As a result, `vuepress-vite build` and `vuepress-webpack build` ran with
the development builds of the Vue runtime and template compiler, while
`vue/server-renderer`, imported later for SSR, used its production
build, mixing both in one process. SSR was noticeably slower, and the
output differed from `vuepress build` with the bundler set in the config
file, e.g. the dev compiler kept HTML comments of Markdown pages.

Set the default `NODE_ENV` according to the command in these bins, and
import the bundler and the cli dynamically afterwards. An explicitly
provided `NODE_ENV` is still respected, and other commands and options
are left to the cli as before.

412 of 552 branches covered (74.64%)

Branch coverage included in aggregate %.

800 of 1087 relevant lines covered (73.6%)

48.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36579459234.1 29 Sep 2026 02:01PM UTC 102
73.95
GitHub Action Run
Source Files on build 36579459234
  • Tree
  • List 102
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c7234f9f on github
  • Prev Build on main (#36360256782)
  • Next Build on main (#36579630257)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc