1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
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: [
|