mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[npm] Fix build with webpack
This commit is contained in:
@ -18,8 +18,7 @@ const cfgEditorStatStorage =
|
||||
// Initialize editor stat storage
|
||||
const editorStatStorage = require(`../${cfgEditorStatStorage}`);
|
||||
const editorStat = new editorStatStorage.EditorStat();
|
||||
console.error(`../${cfgEditorStatStorage}`);
|
||||
console.error(editorStat);
|
||||
|
||||
// Constants
|
||||
const PRECISION = [
|
||||
{name: 'hour', val: ms('1h')},
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
"install:FileConverter": "npm ci --prefix ./FileConverter",
|
||||
"install:Metrics": "npm ci --prefix ./Metrics",
|
||||
"install:AdminPanel/server": "npm ci --prefix ./AdminPanel/server",
|
||||
"install:AdminPanel/client": "npm ci --prefix ./AdminPanel/client && npm --prefix ./AdminPanel/client run build",
|
||||
"install:AdminPanel/client": "npm ci --include=dev --prefix ./AdminPanel/client && npm --prefix ./AdminPanel/client run build",
|
||||
"3d-party-lic-json:Common": "license-report --output=json --package=./Common/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json",
|
||||
"3d-party-lic-json:DocService": "license-report --output=json --package=./DocService/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json",
|
||||
"3d-party-lic-json:FileConverter": "license-report --output=json --package=./FileConverter/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json",
|
||||
|
||||
Reference in New Issue
Block a user