diff options
| author | K900 <me@0upti.me> | 2024-06-27 11:46:47 +0300 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-06-29 16:53:57 -0400 |
| commit | 5697d98862efa81a8ad3651e9ef68d754a58ea90 (patch) | |
| tree | d131979bb50d60dbeecf4699e5c0582d5bca400e /frontend/rollup.config.js | |
| parent | 6cd4fb5553e4e0cb89834743286ec91fa8a02731 (diff) | |
| download | decky-loader-5697d98862efa81a8ad3651e9ef68d754a58ea90.tar.gz decky-loader-5697d98862efa81a8ad3651e9ef68d754a58ea90.zip | |
treewide: fix package structure
The static files need to be inside the module to be installed correctly
as part of the module.
Diffstat (limited to 'frontend/rollup.config.js')
| -rw-r--r-- | frontend/rollup.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/rollup.config.js b/frontend/rollup.config.js index e86fbf07..911cf06d 100644 --- a/frontend/rollup.config.js +++ b/frontend/rollup.config.js @@ -14,7 +14,7 @@ const hiddenWarnings = ['THIS_IS_UNDEFINED', 'EVAL']; export default defineConfig({ input: 'src/index.ts', plugins: [ - del({ targets: '../backend/static/*', force: true }), + del({ targets: '../backend/decky_loader/static/*', force: true }), commonjs(), nodeResolve({ browser: true, @@ -38,7 +38,7 @@ export default defineConfig({ ], preserveEntrySignatures: false, output: { - dir: '../backend/static', + dir: '../backend/decky_loader/static', format: 'esm', chunkFileNames: (chunkInfo) => { return 'chunk-[hash].js'; |
