diff options
| author | AAGaming <aagaming@riseup.net> | 2024-02-21 17:39:13 -0500 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-02-21 17:39:13 -0500 |
| commit | a449181802f05c0d1bd1a318741ce347e993d6f7 (patch) | |
| tree | cbc10cf34623e0895bf434f1501a26362a9e8591 /frontend/rollup.config.js | |
| parent | 4696583680e18599280ebcce1d8db759294e27e4 (diff) | |
| download | decky-loader-a449181802f05c0d1bd1a318741ce347e993d6f7.tar.gz decky-loader-a449181802f05c0d1bd1a318741ce347e993d6f7.zip | |
hook up the backend api
Diffstat (limited to 'frontend/rollup.config.js')
| -rw-r--r-- | frontend/rollup.config.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/rollup.config.js b/frontend/rollup.config.js index ac9ff58c..e86fbf07 100644 --- a/frontend/rollup.config.js +++ b/frontend/rollup.config.js @@ -43,6 +43,8 @@ export default defineConfig({ chunkFileNames: (chunkInfo) => { return 'chunk-[hash].js'; }, + sourcemap: true, + sourcemapPathTransform: (relativeSourcePath) => relativeSourcePath.replace(/^\.\.\//, `decky://decky/loader/`), }, onwarn: function (message, handleWarning) { if (hiddenWarnings.some((warning) => message.code === warning)) return; |
