Seed Project - Launch Pad Issue

I heard someone had an issues with this on webinar (might be same issue) so thought I would share to save time for others

Issue on build:

[commonjs–resolver] Transform failed with 2 errors:
(define name):1:24: ERROR: Expected “.” but found “(”
(define name):1:30: ERROR: Expected “.” but found “(”

In vite.config.ts in launchpad folder remove usages of ‘EnvironmentPlugin’

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

export default defineConfig({
  server: {
    port: 5178,
    host: "localhost",
  },
  base: "./",
  plugins: [react()],
});

Try and build and everything should work now :slight_smile:

Node used: v24.11.1

4 Likes

Thanks @steven.paske, you’re a rockstar!
I’ll pass the link to the person.

FYI @kiril.popov @GeorgiT @Simeon_S a neat workaround.