Hello, I'm trying to use the newly approved to Stage-1 pipeline operator in a project.
https://github.com/SuperPaintman/babel-plugin-transform-pipeline
https://github.com/babel/proposals/issues/29
I have the following
babel: {
"presets": [
"es2015",
"stage-2"
],
"plugins": [
"espower",
"transform-runtime",
"transform-pipeline"
]
}
in nuxt.config.js, .babelrc (without the "babel" key), and package.json. Yet I'm still getting "Syntax Error: Unexpected Token"
Any advise on how to get this working with Nuxt would be appreciated. I've tried restarting the server.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1596">#c1596</a>)</em></sub></div>