ES6: Port pageInfo to ES6

Change-Id: I84828d5b14c1fc7dfd7cfc1c02ea227fb05e03c4
diff --git a/dev/js/src-lib/pageInfo/vite.config.js b/dev/js/src-lib/pageInfo/vite.config.js
new file mode 100644
index 0000000..5ba5801
--- /dev/null
+++ b/dev/js/src-lib/pageInfo/vite.config.js
@@ -0,0 +1,27 @@
+import { defineConfig } from 'vite';
+import path from 'path';
+
+const scssDir = path.resolve(__dirname, '../../../scss'); // Path to your SCSS directory
+
+export default defineConfig({
+
+  server: {
+    fs: {
+      allow: [
+        scssDir,
+        __dirname
+      ]
+    },
+    port: 3000
+  },
+
+ 
+  css: {
+    preprocessorOptions: {
+      scss: {
+        loadPaths: [scssDir]
+      }
+    }
+  }
+});
+