ui: disable sourcemap to fix error (#436)

pull/437/head
panda 2 years ago committed by GitHub
parent dca4f46a2b
commit 12bad8267a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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",

Loading…
Cancel
Save