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

Warning: Couldn't find preset Use #54

Closed
Eschon opened this issue Oct 30, 2015 · 1 comment
Closed

Warning: Couldn't find preset Use #54

Eschon opened this issue Oct 30, 2015 · 1 comment

Comments

@Eschon
Copy link

Eschon commented Oct 30, 2015

I just upgraded to grunt-babel 6.0.0. I changed my Gruntfile to match the example in the readme:

babel: {
  options: {
    presets: ["babel-preset-es2015"],
    sourceMap: true,
    compact: false
  },
  main: {
    files: {
      "./resources/public/js/skimap.js": "./tmp/skimap.js"
    }
  }
}

When I try to run it I get the following Error:

Running "babel:main" (babel) task
Warning: Couldn't find preset Use --force to continue.

Aborted due to warnings.
@Eschon
Copy link
Author

Eschon commented Oct 30, 2015

Thanks for updating the docs! It works now.

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

No branches or pull requests

1 participant