Also getting this error …
Also getting this error: Error during bundle: Error: Cannot find module '/xxx/node_modules/rollup-plugin-filesize/dist/reporters/boxen.js'
Responses:
```const rollup = require(‘@nrwl/react/plugins/bundle-rollup’); const chalk = require(‘chalk’);
function getRollupOptions(opts) { const config = rollup(opts); const i = config.plugins.findIndex((p) => p.name === ‘filesize’); if (config.plugins[i]) { console.log( chalk.yellow.bold( ‘Removing filesize plugin (TODO: Remove this when the boxen bug is fixed)’ ), chalk.yellow( ‘https://github.com/ritz078/rollup-plugin-filesize/issues/82’ ) ); delete config.plugins[i]; } return config; }
module.exports = getRollupOptions;```