mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 04:43:03 +03:00
Change error message string.
This commit is contained in:
parent
a210fcfd35
commit
03315da320
@ -91,7 +91,7 @@ decoder =
|
||||
|> Decode.map Article
|
||||
|
||||
_ ->
|
||||
Decode.fail <| "Unexpected page type " ++ pageType
|
||||
Decode.fail <| "Unexpected page \"type\" " ++ pageType
|
||||
)
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ module.exports = class AddFilesPlugin {
|
||||
this.filesToGenerate = filesToGenerate;
|
||||
}
|
||||
apply(/** @type {webpack.Compiler} */ compiler) {
|
||||
compiler.hooks.make.tapAsync("AddFilesPlugin", (compilation, callback) => {
|
||||
compiler.hooks.emit.tapAsync("AddFilesPlugin", (compilation, callback) => {
|
||||
|
||||
|
||||
const files = globby.sync("content").map(unpackFile);
|
||||
|
@ -773,6 +773,10 @@ application config =
|
||||
_ ->
|
||||
case decodeValue |> Decode.decodeValue (Decode.field "contentJson" contentJsonDecoder) of
|
||||
Ok contentJson ->
|
||||
let
|
||||
_ =
|
||||
Debug.log "HotReloadComplete" ""
|
||||
in
|
||||
AppMsg (HotReloadComplete contentJson)
|
||||
|
||||
Err error ->
|
||||
|
Loading…
Reference in New Issue
Block a user