+ 3
Explanation of this code pls. And why I'm getting a error saying declaration or statement expected.
SystemJS.config({ baseURL:'https://unpkg.com/', defaultExtension: true, meta: { '*.jsx': { 'babelOptions': { react: true } } }, map: { 'plugin-babel': 'systemjs-plugin-babel@latest/plugin-babel.js', 'systemjs-babel-build': 'systemjs-plugin-babel@latest/systemjs-babel-browser.js', 'react': 'react@16.4.2/umd/react.production.min.js', 'react-dom': 'react-dom@16.4.2/umd/react-dom.production.min.js' }, transpiler: 'plugin-babel' }); SystemJS.import('index.js') .catch(console.error.bind(console));
0 Resposta