Skip to content

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

Merged
arunoda merged 1 commit intostorybookjs:masterfrom
sevenleaps:master
May 10, 2016
Merged

Fix for #183 - issue with removing a preset from users babelrc#184
arunoda merged 1 commit intostorybookjs:masterfrom
sevenleaps:master

Conversation

@witnessmenow
Copy link
Copy Markdown
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

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Mar 23, 2024

View your CI Pipeline Execution ↗ for commit 3fd60c4

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 15s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-18 20:10:31 UTC

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