Description: fix for rollup 3
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1022674
Forwarded: not-needed
Last-Update: 2022-10-27

--- a/test/rollup.unit.config.js
+++ b/test/rollup.unit.config.js
@@ -23,7 +23,7 @@
 
 }
 
-export default [
+module.exports = [
 	// editor unit conf
 	{
 		input: 'test/three.editor.unit.js',
--- a/utils/build/rollup-examples.config.js
+++ b/utils/build/rollup-examples.config.js
@@ -82,4 +82,4 @@
 walk( 'examples/jsm/', p => files.push( p ) );
 
 // Create a rollup config for each module.js file
-export default files.map( p => createOutput( p ) );
+module.exports = files.map( p => createOutput( p ) );
--- a/utils/build/rollup.config.js
+++ b/utils/build/rollup.config.js
@@ -1,4 +1,4 @@
-import buble from 'rollup-plugin-buble';
+const buble = require('rollup-plugin-buble');
 
 function glconstants() {
 
@@ -195,7 +195,7 @@
 
 }
 
-export default [
+module.exports = [
 	{
 		input: 'src/Three.js',
 		plugins: [
