mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 02:39:26 +02:00
chore: fix build
This commit is contained in:
parent
f828191131
commit
ada71fcd6a
5 changed files with 905 additions and 61 deletions
|
@ -18,6 +18,9 @@ module.exports = withMDX({
|
||||||
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
productionBrowserSourceMaps: true,
|
productionBrowserSourceMaps: true,
|
||||||
|
experimental: {
|
||||||
|
esmExternals: 'loose',
|
||||||
|
},
|
||||||
webpack(config, options) {
|
webpack(config, options) {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
resourceQuery: /url/,
|
resourceQuery: /url/,
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"@yume-chan/struct": "^0.0.10",
|
"@yume-chan/struct": "^0.0.10",
|
||||||
"mobx": "^6.3.3",
|
"mobx": "^6.3.3",
|
||||||
"mobx-react-lite": "^3.2.1",
|
"mobx-react-lite": "^3.2.1",
|
||||||
"next": "^12.0.10",
|
"next": "12.0.7",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"streamsaver": "^2.0.5",
|
"streamsaver": "^2.0.5",
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"@next/mdx": "^11.1.2",
|
"@next/mdx": "^11.1.2",
|
||||||
"@types/react": "17.0.27",
|
"@types/react": "17.0.27",
|
||||||
"eslint": "7.32.0",
|
"eslint": "7.32.0",
|
||||||
"eslint-config-next": "^12.0.7",
|
"eslint-config-next": "12.0.7",
|
||||||
"typescript": "^4.5.4"
|
"typescript": "^4.5.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
957
common/config/rush/pnpm-lock.yaml
generated
957
common/config/rush/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
@ -23,7 +23,7 @@
|
||||||
"url": "https://github.com/yume-chan/ya-webadb/issues"
|
"url": "https://github.com/yume-chan/ya-webadb/issues"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"fetch-scrcpy-server": "scripts/fetch-server.js"
|
"fetch-scrcpy-server": "scripts/fetch-server.cjs"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "esm/index.js",
|
"module": "esm/index.js",
|
||||||
|
|
0
libraries/scrcpy/scripts/fetch-server.js → libraries/scrcpy/scripts/fetch-server.cjs
Executable file → Normal file
0
libraries/scrcpy/scripts/fetch-server.js → libraries/scrcpy/scripts/fetch-server.cjs
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue