showing results for - " 40babel 2fplugin proposal optional chaining"
Lennard
09 Oct 2020
1npm install --save-dev @babel/plugin-proposal-optional-chaining
2// Add it to the plugins array
3require("@babel/core").transform("code", {
4  plugins: ["@babel/plugin-proposal-optional-chaining"]
5});
6