Skip to content

Commit

Permalink
chore: fix typo in the module path (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyamkamat authored Feb 1, 2022
1 parent 90ef609 commit 2a9d431
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/build-react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function buildReact(opts: BuildOptions): RollupOptions {
],
external: ['react'],
plugins: [
submodulePath('@builder.io/partytown/intergration', '../integration/index'),
submodulePath('@builder.io/partytown/integration', '../integration/index'),
submodulePackageJson(
'@builder.io/partytown/react',
opts.srcReactDir,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/web-worker/init-web-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineWorkerInterface, patchPrototypes } from './worker-define-construc
import { logWorker } from '../log';
import type { InitWebWorkerData } from '../types';
import { Node } from './worker-node';
import type { PartytownConfig } from '@builder.io/partytown/intergration';
import type { PartytownConfig } from '@builder.io/partytown/integration';
import { Performance } from './worker-performance';
import { webWorkerCtx, webWorkerlocalStorage, webWorkerSessionStorage } from './worker-constants';
import { Window } from './worker-window';
Expand Down
2 changes: 1 addition & 1 deletion src/react/forward.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { appendForwardConfig } from '@builder.io/partytown/intergration';
import { appendForwardConfig } from '@builder.io/partytown/integration';
import { PartytownScript } from './script';
import type { PartytownForwardProperty } from '../lib/types';

Expand Down
2 changes: 1 addition & 1 deletion src/react/integration/facebook-pixel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
facebookPixel,
facebookPixelForward,
SCRIPT_TYPE,
} from '@builder.io/partytown/intergration';
} from '@builder.io/partytown/integration';
import { PartytownScript } from '../script';
import { PartytownForward } from '../forward';

Expand Down
2 changes: 1 addition & 1 deletion src/react/integration/google-tag-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
googleTagManager,
googleTagManagerForward,
SCRIPT_TYPE,
} from '@builder.io/partytown/intergration';
} from '@builder.io/partytown/integration';
import { PartytownScript } from '../script';
import { PartytownForward } from '../forward';

Expand Down
2 changes: 1 addition & 1 deletion src/react/library.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import type { PartytownConfig } from '../lib/types';
import { partytownSnippet } from '@builder.io/partytown/intergration';
import { partytownSnippet } from '@builder.io/partytown/integration';
import { PartytownScript } from './script';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/react/script.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect } from 'react';
import { SCRIPT_TYPE } from '@builder.io/partytown/intergration';
import { SCRIPT_TYPE } from '@builder.io/partytown/integration';

export interface PartytownScriptProps {
/**
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"jsx": "react",
"baseUrl": ".",
"paths": {
"@builder.io/partytown/intergration": ["src/integration/index.ts"],
"@builder.io/partytown/integration": ["src/integration/index.ts"],
"react": ["node_modules/react"]
}
},
Expand Down

1 comment on commit 2a9d431

@vercel
Copy link

@vercel vercel bot commented on 2a9d431 Feb 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.