distro-tools/apollo/server/static/esbuild.config.mjs
2023-02-01 22:37:16 +01:00

12 lines
276 B
JavaScript

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',
},
};