From 4aa80ad90dbd89d163fbb423099d666fbdef3f7c Mon Sep 17 00:00:00 2001 From: Sandwich <299465+dskvr@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:11:27 +0100 Subject: [PATCH] glob, oops --- internal/utils/rollup.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/utils/rollup.config.js b/internal/utils/rollup.config.js index 557181e8..17158b33 100644 --- a/internal/utils/rollup.config.js +++ b/internal/utils/rollup.config.js @@ -8,9 +8,10 @@ import terser from '@rollup/plugin-terser'; import livereload from 'rollup-plugin-livereload'; import nodePolyfills from 'rollup-plugin-polyfill-node'; import nodeResolve from '@rollup/plugin-node-resolve'; + import { createRequire } from 'module'; const require = createRequire(import.meta.url); -const glob = require('glob');import * as glob from 'glob'; +const glob = require('glob') const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename);