Skip to content

Commit

Permalink
fix(link): right env var (#5027)
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini authored and hustcc committed May 16, 2023
1 parent f5eeece commit 7b9d530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"scripts": {
"dev": "vite",
"dev:link": "cross-env LINK=true vite",
"dev:link": "cross-env LINK=1 vite",
"clean": "rimraf lib esm dist",
"lint-staged": "lint-staged",
"size": "limit-size",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vite';
import { deepMix } from '@antv/util';

const linkOptions =
process.env.LINK === true
process.env.LINK === '1'
? {
server: {
watch: {
Expand Down

0 comments on commit 7b9d530

Please sign in to comment.