Skip to content

Commit 2e79ab5

Browse files
committed
feat: Set NODE_ENV to 'development' when using dev command
1 parent c932991 commit 2e79ab5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@vuepress/core/lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ function createApp (options) {
1010
}
1111

1212
async function dev (options) {
13+
process.env.NODE_ENV = 'development'
1314
const app = createApp(options)
1415
await app.process()
1516
return app.dev()

0 commit comments

Comments
 (0)