feat(core): migrate v1 data to v2 (#40723)

This commit is contained in:
Dax 2026-08-05 18:57:58 -07:00 committed by GitHub
parent 03e9789064
commit 0fbe489e35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
77 changed files with 4268 additions and 13330 deletions

View file

@ -61,7 +61,7 @@ for (const item of targets) {
name: "parcel-watcher-binding",
setup(build) {
build.onLoad({ filter: /filesystem\/watcher-binding\.ts$/ }, () => ({
contents: `import binding from ${JSON.stringify(parcelWatcherPackage)}; export default () => binding`,
contents: `export default () => require(${JSON.stringify(parcelWatcherPackage)})`,
loader: "js",
}))
},