distro-tools/apollo/server/static/esbuild.config.mjs

12 lines
276 B
JavaScript
Raw Permalink Normal View History

2023-02-01 21:37:16 +00:00
import { sassPlugin } from 'esbuild-sass-plugin';
export default {
keepNames: true,
resolveExtensions: ['.ts', '.js', '.tsx', '.jsx'],
plugins: [sassPlugin()],
define: {
'process.env.NODE_ENV': '"production"',
'window.process.env.DEBUG': 'undefined',
},
};