The following warning has started showing up in Webpack supported projects, not only Bridgetownrb:
Though the "loose" option was set to "false" in your @babel/preset-env config,
it will not be used for @babel/plugin-proposal-private-methods since the "loose" mode option was set to "true"
for @babel/plugin-proposal-class-properties. The "loose" option must be the same for
@babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and
@babel/plugin-proposal-private-property-in-object (when they are enabled):
you can silence this warning by explicitly adding
["@babel/plugin-proposal-private-methods", { "loose": true }]
The fix to silence this warning is to update the plugins section of webpack.config.js:
The following warning has started showing up in Webpack supported projects, not only Bridgetownrb:
The fix to silence this warning is to update the
plugins
section ofwebpack.config.js
:If you need me to open a PR I will be glad to assist.