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

Fix for #183 - issue with removing a preset from users babelrc #184

Merged
merged 1 commit into from
May 10, 2016

Conversation

witnessmenow
Copy link
Contributor

Here is our babelrc

{
  "presets": [
    "es2015",
    "react",
    "stage-1"
  ],
  "plugins": ["transform-object-rest-spread"],
  "sourceRoot": "./src,./test"
}

indexOf('react-hmre') was returning -1 as we don't have it in our presets and presets.splice(-1,1) was removing the last preset from our configuration.

I ran npm run test and linter and tests all passed.

Thanks

Copy link

nx-cloud bot commented Mar 23, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3fd60c4. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

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.

3 participants