mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 23:06:10 +03:00
Add helper function.
This commit is contained in:
parent
7a68a8602d
commit
70feacd32a
@ -98,6 +98,11 @@ function roundToOneDecimal(n) {
|
||||
return Math.round(n * 10) / 10;
|
||||
}
|
||||
|
||||
function printProgress(progress, message) {
|
||||
process.stdout.clearLine();
|
||||
process.stdout.cursorTo(0);
|
||||
process.stdout.write(`${progress} ${message}`);
|
||||
}
|
||||
function webpackOptions(production, routes, { debug, manifestConfig }) {
|
||||
const common = {
|
||||
entry: { hello: "./index.js" },
|
||||
|
Loading…
Reference in New Issue
Block a user