mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 06:11:59 +00:00
Refactor languages and fix hooks logic bugs.
This commit is contained in:
@@ -10,12 +10,15 @@ import externalGlobals from 'rollup-plugin-external-globals';
|
||||
|
||||
const hiddenWarnings = ['THIS_IS_UNDEFINED', 'EVAL'];
|
||||
|
||||
|
||||
export default defineConfig({
|
||||
input: 'src/index.tsx',
|
||||
plugins: [
|
||||
del({ targets: '../backend/static/*', force: true }),
|
||||
commonjs(),
|
||||
nodeResolve(),
|
||||
commonjs({include: '../frontend/node_modules/**'}),
|
||||
nodeResolve({
|
||||
browser: true
|
||||
}),
|
||||
externalGlobals({
|
||||
react: 'SP_REACT',
|
||||
'react-dom': 'SP_REACTDOM',
|
||||
|
||||
Reference in New Issue
Block a user