You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shown in #228, a warning is logged to the console about loading the Babel polyfill twice when Vizr is loaded.
REDCap is now bundling JavaScript resources using Webpack, and they are loading the polyfill as well:
// from Resources/webpack/webpack.config.jsconstpath=require('path');constMiniCssExtractPlugin=require('mini-css-extract-plugin');constCopyWebpackPlugin=require('copy-webpack-plugin');module.exports={entry: {main: ["babel-polyfill",'./src/app.js']},// ...}
We should either use the noconflict polyfill as mentioned in the warning or reconfigure Babel not to apply the polyfill at all. Note that the latter will require bumping the minimum supported REDCap version.
The text was updated successfully, but these errors were encountered:
As shown in #228, a warning is logged to the console about loading the Babel polyfill twice when Vizr is loaded.
REDCap is now bundling JavaScript resources using Webpack, and they are loading the polyfill as well:
We should either use the noconflict polyfill as mentioned in the warning or reconfigure Babel not to apply the polyfill at all. Note that the latter will require bumping the minimum supported REDCap version.
The text was updated successfully, but these errors were encountered: