Skip to content

Commit bd9bc0c

Browse files
refactor: use 'extension' for file names (#4969)
To keep things unified, the entrypoint files for the extension should use the 'extension' terminology instead of 'main'. Signed-off-by: Nikolas Komonen <[email protected]>
1 parent 90ac4bc commit bd9bc0c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/toolkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
"onFileSystem:s3",
4949
"onFileSystem:s3-readonly"
5050
],
51-
"main": "./dist/src/main",
52-
"browser": "./dist/src/mainWeb",
51+
"main": "./dist/src/extension",
52+
"browser": "./dist/src/extensionWeb",
5353
"engines": "This field will be autopopulated from the core module during debugging and packaging.",
5454
"contributes": "This field will be autopopulated from the core module during debugging and packaging.",
5555
"scripts": {
File renamed without changes.
File renamed without changes.

packages/toolkit/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module.exports = (env, argv) => {
1313
const config = {
1414
...baseConfigFactory(env, argv),
1515
entry: {
16-
'src/main': './src/main.ts',
16+
'src/extension': './src/extension.ts',
1717
},
1818
}
1919

2020
const webConfig = {
2121
...baseWebConfigsFactory(env, argv),
2222
entry: {
23-
'src/mainWeb': './src/mainWeb.ts',
23+
'src/extensionWeb': './src/extensionWeb.ts',
2424
},
2525
}
2626

0 commit comments

Comments
 (0)