Developer Debugging
We have inbuilt debugging logs for our API and npm package
Last updated
We have inbuilt debugging logs for our API and npm package
Last updated
module.exports = function override(config, env) {
// Do not run this configuration while in development mode
if (env === 'development') {
return config;
}
// Add the CopyPlugin to the list of plugins
config.plugins = (config.plugins || []).concat([
new CopyPlugin({
patterns: [
// Adjust the from path to the actual path of the onairos chunks in your node_modules
{ from: 'node_modules/onairos/dist/*.chunk.js', to: 'static/js/[name].[ext]' },
],
}),
]);
return config;
};