diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-01-10 17:37:22 -0500 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-01-10 17:37:22 -0500 |
| commit | 0a856a7d1ff9b6544a225724ebc5c641c6095f98 (patch) | |
| tree | 811d2b89e875e2168a8e691b9e19e364fb7d3f78 /rollup.config.js | |
| parent | f87044cb68b60e008b777c2359eb671cb09eb6a1 (diff) | |
| download | decky-bazzite-buddy-0a856a7d1ff9b6544a225724ebc5c641c6095f98.tar.gz decky-bazzite-buddy-0a856a7d1ff9b6544a225724ebc5c641c6095f98.zip | |
re breaking some stuff
Diffstat (limited to 'rollup.config.js')
| -rw-r--r-- | rollup.config.js | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/rollup.config.js b/rollup.config.js index 17e71a7..0c20d4f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,5 +1,17 @@ import deckyPlugin from "@decky/rollup"; +import resolve from "@rollup/plugin-node-resolve"; +import typescript from "@rollup/plugin-typescript"; +import commonjs from "@rollup/plugin-commonjs"; export default deckyPlugin({ - // Add your extra Rollup options here -})
\ No newline at end of file + input: "src/index.tsx", // Entry file for the plugin + output: { + dir: "dist", // Output directory for the built files + format: "cjs", // CommonJS format, required for Decky Loader plugins + }, + plugins: [ + resolve(), // Resolves `node_modules` imports + commonjs(), // Converts CommonJS modules to ES modules + typescript(), // Compiles TypeScript to JavaScript + ], +});
\ No newline at end of file |
