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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: .__exportStar is not a function #14372

Closed
1 task
bodinsamuel opened this issue Mar 19, 2022 · 2 comments
Closed
1 task

[Bug]: .__exportStar is not a function #14372

bodinsamuel opened this issue Mar 19, 2022 · 2 comments
Labels
i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@bodinsamuel
Copy link

馃捇

  • Would you like to work on a fix?

How are you using Babel?

babel-loader (webpack)

Input code

module: {
      rules: [
        {
          test: /\.tsx?$/,
          exclude: /node_modules/,
          use: [
            {
              loader: 'babel-loader',
              options: {
                presets: [
                  [
                    '@babel/preset-env',
                    {
                      targets: {
                        browsers: ['last 2 versions'],
                      },
                    },
                  ],
                  [
                    '@babel/preset-typescript',
                    { isTSX: false, onlyRemoveTypeImports: true },
                  ],
                ],
                plugins: [
                  '@babel/plugin-proposal-object-rest-spread',
                  '@babel/plugin-proposal-class-properties',
                  '@babel/plugin-proposal-private-methods',
                  '@babel/plugin-proposal-private-property-in-object',
                  '@babel/plugin-proposal-optional-chaining',
                  '@babel/plugin-proposal-nullish-coalescing-operator',
                ],
                cacheDirectory: true,
                cacheCompression: false,
              },
            },
          ],
        },
      ],
    },
{
  "compilerOptions": {
    "module": "commonjs",
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "target": "es2017",
    "moduleResolution": "node",
    "baseUrl": "./",
    "lib": [
      "ES6",
      "es2015",
      "es2017",
      "es2019",
      "DOM",
      "DOM.Iterable"
    ],
    "incremental": true,
    "sourceMap": false,
    "removeComments": true,
    "allowJs": true,
    "noImplicitUseStrict": true,
    "resolveJsonModule": true,
    "declaration": true,
    "declarationMap": true,
    "composite": true,
    "preserveConstEnums": true,
    "noEmitOnError": false,
    "downlevelIteration": true,
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "noImplicitThis": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "alwaysStrict": false,
    "noUnusedLocals": true,
    "noUnusedParameters": false,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "skipLibCheck": true
  }
}

Configuration file name

No response

Configuration

No response

Current and expected behavior

Hello,

In "@babel/core": "7.17.5" our code compile but no longer in 7.17.8.
I have not yet found the root cause, sorry about that but I just wanted to log in advance for other users.
The only commit I would see impacting this is #14313, but not sure either.

Might be similar to #14365 not sure

Environment

  • "babel-loader": "8.2.3",
  • "@babel/core": "7.17.8",
  • "webpack": "5.70.0",
  • "typescript": "4.6.2"

Possible solution

No response

Additional context

No response

@babel-bot
Copy link
Collaborator

Hey @bodinsamuel! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.

@bodinsamuel
Copy link
Author

bodinsamuel commented Mar 19, 2022

nevermind it was coming from prettier

@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jun 19, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

2 participants