Babel transform plugin not working within NuxtJS
[issue link]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.