-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: services submodule, remove React components (#62)
- Loading branch information
1 parent
1304535
commit 9966c03
Showing
30 changed files
with
186 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { BuildOptions, submodulePackageJson } from './utils'; | ||
import { join } from 'path'; | ||
import type { OutputOptions, RollupOptions } from 'rollup'; | ||
|
||
export function buildServices(opts: BuildOptions): RollupOptions { | ||
const output: OutputOptions[] = [ | ||
{ | ||
file: join(opts.distServicesDir, 'index.cjs'), | ||
format: 'cjs', | ||
}, | ||
{ | ||
file: join(opts.distServicesDir, 'index.mjs'), | ||
format: 'es', | ||
}, | ||
]; | ||
|
||
return { | ||
input: join(opts.tscServicesDir, 'index.js'), | ||
output, | ||
plugins: [ | ||
submodulePackageJson( | ||
'@builder.io/partytown/services', | ||
opts.srcServicesDir, | ||
opts.distServicesDir, | ||
opts | ||
), | ||
], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1 @@ | ||
export { Partytown, PartytownProps } from './library'; | ||
|
||
export { | ||
FacebookPixel, | ||
FacebookPixelNoScript, | ||
FacebookPixelProps, | ||
} from './integration/facebook-pixel'; | ||
|
||
export { | ||
GoogleTagManager, | ||
GoogleTagManagerNoScript, | ||
GoogleTagManagerProps, | ||
} from './integration/google-tag-manager'; | ||
export { Partytown, PartytownProps } from './snippet'; |
Oops, something went wrong.
9966c03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: