Update esbuild.config.mjs

This commit is contained in:
Steve Ruiz 2021-08-30 21:21:46 +01:00
parent 596762cec9
commit fbc81620fb

View file

@ -21,10 +21,6 @@ esbuild
minify: false, minify: false,
sourcemap: true, sourcemap: true,
incremental: isDevServer, incremental: isDevServer,
assetNames: 'assets/[name]-[hash]',
loader: {
'.woff': 'file',
},
target: ['chrome58', 'firefox57', 'safari11', 'edge18'], target: ['chrome58', 'firefox57', 'safari11', 'edge18'],
define: { define: {
'process.env.NODE_ENV': isDevServer ? '"development"' : '"production"', 'process.env.NODE_ENV': isDevServer ? '"development"' : '"production"',