mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
fix: dist
This commit is contained in:
parent
d35026467e
commit
ed7d6dcbfb
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user