From 6a518ba63dbed2e21aeae58564ab2c0dfa817526 Mon Sep 17 00:00:00 2001 From: William Killerud Date: Sat, 28 Sep 2024 15:15:35 +0200 Subject: [PATCH] chore: copy over source maps --- vscode-extension/rspack.browser.config.js | 4 ++++ vscode-extension/rspack.node.config.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/vscode-extension/rspack.browser.config.js b/vscode-extension/rspack.browser.config.js index 8e5f7ed1..29480d22 100644 --- a/vscode-extension/rspack.browser.config.js +++ b/vscode-extension/rspack.browser.config.js @@ -67,6 +67,10 @@ const config = { from: "../node_modules/some-sass-language-server/dist/**/*.js", to: "[name][ext]", }, + { + from: "../node_modules/some-sass-language-server/dist/**/*.js.map", + to: "[name][ext]", + }, ], }), // Only register the plugin when RSDOCTOR is true, as the plugin will increase the build time. diff --git a/vscode-extension/rspack.node.config.js b/vscode-extension/rspack.node.config.js index f2cf442d..46b5c093 100644 --- a/vscode-extension/rspack.node.config.js +++ b/vscode-extension/rspack.node.config.js @@ -32,6 +32,10 @@ const config = { from: "../node_modules/some-sass-language-server/dist/**/*.js", to: "[name][ext]", }, + { + from: "../node_modules/some-sass-language-server/dist/**/*.js.map", + to: "[name][ext]", + }, ], }), // Only register the plugin when RSDOCTOR is true, as the plugin will increase the build time.