const commonjs = require('@rollup/plugin-commonjs');

module.exports = {
	description: 'Handles output from @rollup/plugin-commonjs',
	expectedWarnings: ['MIXED_EXPORTS'],
	options: {
		input: 'main.js',
		external: ['external'],
		plugins: [commonjs()],
		output: { preserveModules: true }
	}
};
