Skip to content

Commit

Permalink
build: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed Feb 14, 2024
1 parent 2991b5b commit 9788629
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/ide/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig({
},
define: {
'process.env.NODE_DEBUG': undefined,
// 'typeof window !== "undefined" && typeof window.document !== "undefined"': true,
},
resolve: {
alias: {
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/src/atoms/rule.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { transformationRules } from '@wakaru/unminify'
import { atomWithStorage } from 'jotai/utils'
import { atom } from 'jotai/vanilla'
import { atomWithStorage } from 'jotai/vanilla/utils'
import { KEY_DISABLED_RULES, KEY_RULE_ORDER } from '../const'

export const prettifyRules = [
Expand Down
1 change: 0 additions & 1 deletion packages/playground/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default defineConfig({
},
define: {
'process.env.NODE_DEBUG': undefined,
'typeof window !== "undefined" && typeof window.document !== "undefined"': true,
},
resolve: {
alias: {
Expand Down

0 comments on commit 9788629

Please sign in to comment.