Static GitHub Issues

[2125] Using different Babel environments in .babelrc for client and server bundles building

prev: A problem of nuxt in IE9
next: Authorization between nuxtjs and the backend API

Hi guys! I have very critical problem for me. In my .babelrc specified two environments: "client" and "server" { "env": { "client": { "presets": [ "env", { "targets": { "ie": 9 }, "debug": true, "useBuiltIns": true, "loose": true, "modules": false } ] }, "server": { "presets": [ "env", { "targets": { "node": true }, "debug": true, "useBuiltIns": true, "loose": true, "modules": false } ] } } } Needs use different environments for client and server during "nuxt build" Now I don't see how it make :(

<!--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/c1885">#c1885</a>)</em></sub></div>