fix: dist

This commit is contained in:
KernelDeimos 2024-09-02 21:30:22 -04:00
parent d35026467e
commit ed7d6dcbfb

View File

@ -129,11 +129,11 @@ async function build(options){
for(let i = 0; i < js_paths.length; i++){ for(let i = 0; i < js_paths.length; i++){
main_array.push(path.join(__dirname, 'src', js_paths[i])); main_array.push(path.join(__dirname, 'src', js_paths[i]));
} }
webpack({ await webpack({
...BaseConfig({ ...(await BaseConfig({
...options, ...options,
env: 'prod', env: 'prod',
}), })),
mode: 'production', mode: 'production',
optimization: { optimization: {
minimize: true, minimize: true,