From 8cd12145883894982e137224e7c2b6a2441a909d Mon Sep 17 00:00:00 2001 From: lucsomers Date: Thu, 25 Jan 2024 15:52:42 +0100 Subject: [PATCH] changed path to use context --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 73d49a0..7fafcd1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -9,7 +9,7 @@ const webpack = require('webpack'); const config = { target: 'webworker', // vscode extensions run in webworker context for VS Code web 📖 -> https://webpack.js.org/configuration/target/#target context: path.resolve(__dirname, 'src'), - entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/ + entry: './extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/ output: { // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/ path: path.resolve(__dirname, 'dist'),