mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 13:21:42 +03:00
Add console log to show when running.
This commit is contained in:
parent
79504bf4f5
commit
11dc79bb45
@ -10,6 +10,7 @@ function unpackFile(path: string) {
|
||||
}
|
||||
|
||||
function run() {
|
||||
console.log("Running elm-pages...");
|
||||
const content = glob.sync("content/**/*.emu", {}).map(unpackFile);
|
||||
const images = glob
|
||||
.sync("images/**/*", {})
|
||||
@ -38,6 +39,7 @@ function run() {
|
||||
fs.writeFileSync("./gen/RawContent.elm", contents.rawContent);
|
||||
fs.writeFileSync("./prerender.config.js", contents.prerenderrc);
|
||||
fs.writeFileSync("./src/js/image-assets.js", contents.imageAssets);
|
||||
console.log("elm-pages DONE");
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user