File: 02-drop-legacy-plugins.patch

package info (click to toggle)
node-i18next 23.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,780 kB
  • sloc: javascript: 13,315; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Forwarded: https://github.com/i18next/i18next/pull/1532

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,11 +1,11 @@
-import babel from 'rollup-plugin-babel';
-import nodeResolve from 'rollup-plugin-node-resolve';
+import babel from '@rollup/plugin-babel';
+import nodeResolve from '@rollup/plugin-node-resolve';
 import { terser } from 'rollup-plugin-terser';
 import pkg from './package.json';
 
 const getBabelOptions = ({ useESModules }) => ({
   exclude: /node_modules/,
-  runtimeHelpers: true,
+  babelHelpers: 'runtime',
   plugins: [['@babel/transform-runtime', { useESModules }]],
   comments: false,
 });