This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const path = require('path'); | |
| module.exports = { | |
| mode: 'production', | |
| entry: { | |
| bundle: './src/client/index.ts', | |
| elements: './src/client/global/allComponents.ts', | |
| }, | |
| output: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const path = require('path'); | |
| module.exports = { | |
| mode: 'development', | |
| entry: { | |
| bundle: './src/client/index.ts', | |
| elements: './src/client/global/allComponents.ts', | |
| }, | |
| output: { | |
| filename: '[name].js', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { MultiBar } from "cli-progress"; | |
| const files = { | |
| "eta.js ": 187, | |
| "generic-bar.js": 589, | |
| "multi-bar.js ": 5342, | |
| "options.js ": 42, | |
| "single-bar.js ": 2123, | |
| "terminal.js ": 4123, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { SingleBar } from "cli-progress"; | |
| // create new progress bar | |
| const b1 = new SingleBar({ | |
| format: | |
| "CLI Progress {name}|" + | |
| "{bar}" + | |
| "| {percentage}% || {value}/{total} Chunks", | |
| barCompleteChar: "\u2588", | |
| barIncompleteChar: "\u2591", |