Skip to content

Commit

Permalink
fix: issue tw-in-js#517
Browse files Browse the repository at this point in the history
  • Loading branch information
uihp committed Nov 24, 2024
1 parent df4bb81 commit c598df3
Show file tree
Hide file tree
Showing 3 changed files with 18,372 additions and 14,180 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
}
],
"engines": {
"node": ">=14.15.0",
"pnpm": "^7.0.0"
"node": ">=14.15.0"
},
"// https://nodejs.org/dist/latest-v16.x/docs/api/corepack.html": "",
"packageManager": "pnpm@7.16.0",
Expand All @@ -45,7 +44,7 @@
"// start — use 'BROWSER=none' to prevent vite to open a browser if within codesandbox or stackblitz": "",
"scripts": {
"start": "BROWSER=none pnpm test:ui",
"build": "pnpm --filter='./packages/*' --if-present build",
"build": "pnpm --filter ./packages/* --if-present build",
"check": "TIMING=1 eslint --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.svelte --ignore-path .gitignore .",
"check:fix": "pnpm check --fix",
"format": "pnpm prettier . '!pnpm-lock.yaml'",
Expand Down Expand Up @@ -93,7 +92,6 @@
},
"pnpm": {
"patchedDependencies": {
"@size-limit/esbuild@8.1.0": "patches/@size-limit__esbuild@8.1.0.patch",
"monaco-editor@0.34.1": "patches/monaco-editor@0.34.1.patch",
"@jspm/generator@1.0.0-beta.38": "patches/@jspm__generator@1.0.0-beta.38.patch",
"@jsenv/logger@4.1.1": "patches/@jsenv__logger@4.1.1.patch",
Expand All @@ -102,7 +100,6 @@
},
"updateConfig": {
"ignoreDependencies": [
"@size-limit/esbuild",
"monaco-editor",
"@jspm/generator",
"@jsenv/logger",
Expand Down
6 changes: 0 additions & 6 deletions packages/core/src/observe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ export function mo<Theme extends BaseTheme = BaseTheme, Target = unknown>(
subtree: true,
childList: true,
})

// handle class attribute on target
handleClassAttributeChange(target as Element)

// handle children of target
handleMutationRecords([{ target, type: '' }])
},
disconnect() {
observer.disconnect()
Expand Down
Loading

0 comments on commit c598df3

Please # to comment.