@@ -67,7 +67,7 @@ jobs:
- name: Run transition tests
run: pnpm run test:transition
- lint-and-test-dts:
+ type-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -86,8 +86,5 @@ jobs:
- name: Run srouce type check
run: pnpm run ts-check
- - name: Run eslint
- run: pnpm run lint
-
- name: Run type declaration tests
run: pnpm run test:types
@@ -238,7 +238,8 @@ function genConfig(name) {
// built-in vars
const vars = {
- __VERSION__: version
+ __VERSION__: version,
+ __DEV__: `process.env.NODE_ENV !== 'production'`
}
// feature flags
Object.keys(featureFlags).forEach(key => {