func Gopack(buildPath string) {

	defer Benchmark(time.Now(), "Running Gopack")

	Log("\nRunning gopack to build esm support for npm dependencies")

	// Clear web_modules from previous build.
	alreadyConvertedFiles = []string{}

	// Start at the entry point for the app
	runPack(buildPath, buildPath+"/spa/ejected/main.js")

}
// Gopack ensures ESM support for NPM dependencies.
Gopack ensures ESM support for NPM dependencies.
// Gopack ensures ESM support for NPM dependencies .
func Gopack(buildPath string) {
	defer Benchmark(time.Now(), "Running Gopack")
	Log("\nRunning gopack to build esm support for npm dependencies")
	alreadyConvertedFiles = []string{}
	runPack(buildPath, buildPath+"/spa/ejected/main.js")
}
func Gopack ( buildPath string ) { defer Benchmark ( time . Now ( ) , " " ) Log ( " \n " ) alreadyConvertedFiles = [ ] string { } runPack ( buildPath , buildPath + " " ) }
Gopack ensures ESM support for NPM dependencies.
Gopack ensures ESM support for NPM dependencies .
// Clear web_modules from previous build. // Start at the entry point for the app