Bump rollup to 3.27.2 with old loading behavoir
diff --git a/package-lock.json b/package-lock.json
index 65df1e5..185352d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -30,7 +30,7 @@
         "jsdom": "^21.1.2",
         "mocha": "^10.2.0",
         "nodemon": "^3.0.1",
-        "rollup": "^2.79.1",
+        "rollup": "^3.27.2",
         "rollup-plugin-copy": "^3.4.0",
         "rollup-plugin-license": "^3.0.1",
         "sinon": "^15.2.0",
@@ -6928,15 +6928,16 @@
       }
     },
     "node_modules/rollup": {
-      "version": "2.79.1",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz",
-      "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==",
+      "version": "3.28.0",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz",
+      "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==",
       "dev": true,
       "bin": {
         "rollup": "dist/bin/rollup"
       },
       "engines": {
-        "node": ">=10.0.0"
+        "node": ">=14.18.0",
+        "npm": ">=8.0.0"
       },
       "optionalDependencies": {
         "fsevents": "~2.3.2"
diff --git a/package.json b/package.json
index 637de79..1244142 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
     "lint": "eslint ./src --fix",
     "pretest": "npm run lint && npm run clean && npm run build",
     "test": "mocha --require @babel/register && npm run journey:ci",
-    "build": "rollup -c rollup.config.js",
+    "build": "rollup -c --bundleConfigAsCjs rollup.config.js",
     "clean": "rm -r ./build",
     "journey": "cypress run",
     "journey:debug": "cypress open",
@@ -70,7 +70,7 @@
     "jsdom": "^21.1.2",
     "mocha": "^10.2.0",
     "nodemon": "^3.0.1",
-    "rollup": "^2.79.1",
+    "rollup": "^3.27.2",
     "rollup-plugin-copy": "^3.4.0",
     "rollup-plugin-license": "^3.0.1",
     "sinon": "^15.2.0",