forked from prusa3d/Prusa-Link-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mini.js
30 lines (28 loc) · 884 Bytes
/
config.mini.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
const webpackConfig = require("./webpack.config");
module.exports = (env, args) => {
const config = {
PRINTER_TYPE: "fdm",
FILE_EXTENSIONS: [".gcode", ".bgcode"],
WITH_STORAGES: ["usb"],
WITH_FILES: true,
WITH_SETTINGS: false,
WITH_CONTROLS: false,
WITH_REMOTE_UPLOAD: false,
WITH_START_PRINT_AFTER_UPLOAD: true,
WITH_SERIAL: false,
WITH_CONNECTION: false,
WITH_LOGS: false,
WITH_FONT: false,
WITH_EMBEDDED_SVGS: true,
WITH_COMMAND_SELECT: false,
WITH_PRINT_BUTTON: true,
WITH_PREVIEW_LAZY_QUEUE: true,
WITH_DOWNLOAD_BUTTON: true,
WITH_API_KEY_AUTH: false,
WITH_NAME_SORTING_ONLY: false,
WITH_TELEMETRY_NOZZLE_DIAMETER: true,
WITH_V1_API: true,
...env,
};
return webpackConfig(config, args);
}