This commit is contained in:
Sidharth Vinod
2022-09-01 13:38:02 +05:30
parent 1206ec43ac
commit d67e2723c6
8 changed files with 127 additions and 51 deletions

View File

@@ -1,4 +1,5 @@
import path from 'path';
// const esbuild = require('esbuild');
const { ESBuildMinifyPlugin } = require('esbuild-loader');
export const resolveRoot = (...relativePath) => path.resolve(__dirname, '..', ...relativePath);
@@ -33,6 +34,7 @@ export default {
use: {
loader: 'esbuild-loader',
options: {
// implementation: esbuild,
target: 'es2015',
},
},