Skip to content

Commit d8e9a0a

Browse files
committed
Fix ext building with webpack
Signed-off-by: paulober <[email protected]>
1 parent 0184e77 commit d8e9a0a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "0.18.0",
66
"author": "paulober",
77
"publisher": "raspberry-pi",
8-
"icon": "./images/extension-icon.png",
8+
"icon": "images/extension-icon.png",
99
"license": "MPL-2.0",
1010
"homepage": "https://github.com/raspberrypi/pico-vscode/blob/master/README.md",
1111
"bugs": {
@@ -47,7 +47,7 @@
4747
"paulober.pico-w-go",
4848
"ms-python.python"
4949
],
50-
"main": "./dist/extension.cjs",
50+
"main": "./dist/extension.js",
5151
"markdown": "github",
5252
"minimumNodeVersion": 20,
5353
"capabilities": {

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ const uninstallerEsm = {
6060
name: 'uninstaller',
6161
target: 'node',
6262
mode: 'production',
63-
entry: './scripts/vscodeUninstall.mjs',
63+
entry: './scripts/vscodeUninstaller.mjs',
6464
experiments: { outputModule: true, topLevelAwait: true },
6565
output: {
6666
path: path.resolve(__dirname, 'dist'),
67-
filename: 'vscodeUninstall.mjs',
67+
filename: 'vscodeUninstaller.mjs',
6868
library: { type: 'module' },
6969
chunkFormat: 'module',
7070
clean: false,

0 commit comments

Comments
 (0)