| 1 |
Description: fix for rollup 3 |
| 2 |
Author: Yadd <[email protected]> |
| 3 |
Bug-Debian: https://bugs.debian.org/1022673 |
| 4 |
Forwarded: not-needed |
| 5 |
Last-Update: 2022-10-27 |
| 6 |
|
| 7 |
--- a/rollup.config.js |
| 8 |
+++ b/rollup.config.js |
| 9 |
@@ -1,9 +1,9 @@ |
| 10 |
-import buble from 'rollup-plugin-buble'; |
| 11 |
-import nodeResolve from '@rollup/plugin-node-resolve'; |
| 12 |
+const buble = require('rollup-plugin-buble'); |
| 13 |
+const nodeResolve = require('@rollup/plugin-node-resolve').nodeResolve; |
| 14 |
|
| 15 |
const pkg = require( './package.json' ); |
| 16 |
|
| 17 |
-export default { |
| 18 |
+module.exports = { |
| 19 |
input: 'src/index.js', |
| 20 |
plugins: [ |
| 21 |
nodeResolve({modulePaths: ['/usr/share/nodejs']}), |