Skip to content

Commit f1e5cae

Browse files
committed
chore: update comments
1 parent 35d1be7 commit f1e5cae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

renderer/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ module.exports = function () {
2525
// ensure that static resources are loaded normally
2626
if (!config.build.assetsDir) config.build.assetsDir = '';
2727

28+
// ----------------------------------------
29+
// Rollup: output.format, output.external
30+
2831
if (!config.build.rollupOptions) config.build.rollupOptions = {};
2932
if (!config.build.rollupOptions.output) config.build.rollupOptions.output = {};
3033

@@ -48,6 +51,7 @@ module.exports = function () {
4851
}
4952

5053
// ----------------------------------------
54+
// Vite: resolve.alias
5155

5256
if (!config.resolve) config.resolve = {};
5357
if (!config.resolve.conditions) config.resolve.conditions = ['node'];
@@ -64,6 +68,7 @@ module.exports = function () {
6468
}
6569

6670
// ----------------------------------------
71+
// Vite: optimizeDeps.exclude
6772

6873
if (!config.optimizeDeps) config.optimizeDeps = {};
6974
if (!config.optimizeDeps.exclude) config.optimizeDeps.exclude = [];

0 commit comments

Comments
 (0)