mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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
|
||||
parallel --tty -j+0 yarn ::: lint:ci build test
|
||||
fi
|
||||
- name: Upload Build UI Artifact
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
with:
|
||||
name: UI
|
||||
path: packages/ui-default/
|
||||
- name: Publish
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
run: node build/publish.js
|
||||
|
||||
@@ -69,7 +69,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
||||
stats: {
|
||||
preset: 'errors-warnings',
|
||||
},
|
||||
devtool: env.production ? 'source-map' : false,
|
||||
devtool: false,
|
||||
entry: {
|
||||
hydro: './entry.js',
|
||||
polyfill: './polyfill.ts',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.41.6",
|
||||
"version": "4.41.9",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in new issue
Block a user