mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00
wip
This commit is contained in:
parent
159a100b0d
commit
efec25e4fb
29 changed files with 25 additions and 1134 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
const { isMockMode, isTestMode, isProfilingMode, isBuildTime } = require('./src/utils/test-modes')
|
||||
const { isTestMode, isProfilingMode, isBuildTime } = require('./src/utils/test-modes')
|
||||
const path = require('path')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
|
@ -21,14 +21,6 @@ if (isTestMode) {
|
|||
`)
|
||||
}
|
||||
|
||||
if (isMockMode) {
|
||||
console.warn(`This build runs in mock mode. This means:
|
||||
- No real data. All API responses are mocked
|
||||
- No persistent data
|
||||
- No realtime editing
|
||||
`)
|
||||
}
|
||||
|
||||
if (isBuildTime) {
|
||||
console.warn(`This process runs in build mode. During build time this means:
|
||||
- Editor and Renderer base urls are '' (empty string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue