mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: disable sourcemap to fix error (#436)
This commit is contained in:
1 parent
dca4f46a2b
commit
12bad8267a
3 files changed
+7
-2
No files matched your search
@@ -66,6 +66,11 @@ jobs:
|
|||||||
else
|
else
|
||||||
parallel --tty -j+0 yarn ::: lint:ci build test
|
parallel --tty -j+0 yarn ::: lint:ci build test
|
||||||
fi
|
fi
|
||||||
|
- name: Upload Build UI Artifact
|
||||||
|
uses: actions/upload-artifact@v3.1.0
|
||||||
|
with:
|
||||||
|
name: UI
|
||||||
|
path: packages/ui-default/
|
||||||
- name: Publish
|
- name: Publish
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: node build/publish.js
|
run: node build/publish.js
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
|||||||
stats: {
|
stats: {
|
||||||
preset: 'errors-warnings',
|
preset: 'errors-warnings',
|
||||||
},
|
},
|
||||||
devtool: env.production ? 'source-map' : false,
|
devtool: false,
|
||||||
entry: {
|
entry: {
|
||||||
hydro: './entry.js',
|
hydro: './entry.js',
|
||||||
polyfill: './polyfill.ts',
|
polyfill: './polyfill.ts',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.41.6",
|
"version": "4.41.9",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in new issue
Block a user