Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support namespaces #95

Closed
wants to merge 4 commits into from
Closed

support namespaces #95

wants to merge 4 commits into from

Conversation

nikrom17
Copy link
Contributor

No description provided.

@nikrom17 nikrom17 marked this pull request as ready for review April 26, 2024 19:47
@nikrom17 nikrom17 requested a review from a team as a code owner April 26, 2024 19:47
@@ -1,4 +1,5 @@
/* @flow */
import { __ZOID__, __POST_ROBOT__ } from "../globals";
Copy link
Contributor

Choose a reason for hiding this comment

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

regarding: https://github.com/paypal/paypal-common-components/actions/runs/8853484326/job/24314427715#step:6:303

Webpack config is using raw-loader, which generates to ESM from that JSON file before webpack uses its own JSON parser on it. We could fix this error by removing JSON from the raw-loader config or by adding type: javascript/auto to that rule, which tells webpack to only use the custom loader.

But webpack shouldn't be touching test/globals.js while running karma anyway, so it looks like we can just add exclude: ['test/globals.js'], to the karma config, and it will skip that file.

@nikrom17 nikrom17 closed this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants