We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to common and build options default objects:
{ define: { "process.env": JSON.stringify( getClientEnvironment(proc).stringified["process.env"] ), "window": JSON.stringify({ IS_PRODUCTION: proc.env['NODE_ENV'] === 'production' ? true : false, location: { hostname: '???', //proc.env['WDS_SOCKET_HOST'] port: '???', //proc.env['WDS_SOCKET_PORT'] } }) } }
The text was updated successfully, but these errors were encountered:
Working locally, testing later:
const buildOptions: ESBuild.BuildOptions = { // defaults ...defaultBuildOptions, // // args // ...options, // required banner: { // js: `new EventSource('/esbuild').addEventListener('change', () => location.reload(),{once:true});`, js: proc.env['FAST_REFRESH'] === 'false' ? '' : `new EventSource('${wdsSocketPath}').addEventListener('change', () => ${wdsSocketHost}.reload(),{once:true});`, }, format: 'esm', sourcemap: proc.env['GENERATE_SOURCEMAP'] === 'true' || false, };
Sorry, something went wrong.
No branches or pull requests
Updates to common and build options default objects:
The text was updated successfully, but these errors were encountered: