diff --git a/rollup.config.js b/rollup.config.js index 6e28807..2bc04de 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,8 +1,7 @@ -import { createRequire } from 'node:module'; import babel from '@rollup/plugin-babel'; import { nodeResolve } from '@rollup/plugin-node-resolve'; -const pkg = createRequire(import.meta.url)('./package.json'); +import pkg from './package.json' assert { type: 'json' }; const extensions = [ '.ts',