Skip to content

Commit 9b651a9

Browse files
committed
Add descriptions to esbuild configs
1 parent 0ff3ebb commit 9b651a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

esbuild-config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const esbuildConfig = {
2424
logLevel: 'info'
2525
};
2626

27+
// Config used when building bundle to serve test dashboard
2728
const devtoolsConfig = {
2829
entryPoints: [path.join(constants.pathToRoot, 'devtools', 'test_dashboard', 'devtools.js')],
2930
outfile: path.join(constants.pathToRoot, 'build', 'test_dashboard-bundle.js'),
@@ -38,11 +39,13 @@ const devtoolsConfig = {
3839
logLevel: 'info'
3940
};
4041

42+
// Config used when building plotly.js for local development
4143
const localDevConfig = {
4244
...esbuildConfig,
4345
outfile: './build/plotly.js'
4446
};
4547

48+
// Config used when building bundle to serve regl
4649
const localDevReglCodegenConfig = {
4750
...esbuildConfig,
4851
entryPoints: [path.join(constants.pathToRoot, 'devtools/regl_codegen', 'devtools.js')],
@@ -55,5 +58,5 @@ module.exports = {
5558
devtoolsConfig,
5659
esbuildConfig,
5760
localDevConfig,
58-
localDevReglCodegenConfig,
61+
localDevReglCodegenConfig
5962
};

0 commit comments

Comments
 (0)