diff --git a/scripts/build-react.ts b/scripts/build-react.ts index e6992b20..568204fd 100644 --- a/scripts/build-react.ts +++ b/scripts/build-react.ts @@ -18,12 +18,7 @@ export function buildReact(opts: BuildOptions): RollupOptions { external: ['react'], plugins: [ submodulePath('@qwik.dev/partytown/integration', '../integration/index'), - submodulePackageJson( - '@qwik.dev/partytown/react', - opts.srcReactDir, - opts.distReactDir, - opts - ), + submodulePackageJson('@qwik.dev/partytown/react', opts.srcReactDir, opts.distReactDir, opts), ], }; } diff --git a/scripts/build-utils.ts b/scripts/build-utils.ts index 20a1532e..547bcc9c 100644 --- a/scripts/build-utils.ts +++ b/scripts/build-utils.ts @@ -17,12 +17,7 @@ export function buildUtils(opts: BuildOptions): RollupOptions { ], external: ['fs', 'path', 'url', 'util'], plugins: [ - submodulePackageJson( - '@qwik.dev/partytown/utils', - opts.srcUtilsDir, - opts.distUtilsDir, - opts - ), + submodulePackageJson('@qwik.dev/partytown/utils', opts.srcUtilsDir, opts.distUtilsDir, opts), ], }; }