File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ makeOptimizedWithCleanup cleanup root path = do
2424 debug $ " 🏗 lamdera make --optimize " <> root <> " /" <> path
2525 let
2626 tmp = lamderaCache root <> " /tmp.js"
27- scaffold = lamderaCache root <> " /Main .elm"
27+ scaffold = lamderaCache root <> " /Main_ .elm"
2828
29- writeUtf8 scaffold $ " module Main exposing (..)\n\n import " <> (T. pack $ FP. takeFileName $ FP. dropExtensions path) <> " \n import Html\n\n main = Html.text \"\" "
29+ writeUtf8 scaffold $ " module Main_ exposing (..)\n\n import " <> (T. pack $ FP. takeFileName $ FP. dropExtensions path) <> " \n import Html\n\n main = Html.text \"\" "
3030
3131 r <- async $
3232 Dir. withCurrentDirectory root $
@@ -107,11 +107,11 @@ makeHarnessDevJs :: FilePath -> IO ()
107107makeHarnessDevJs root = do
108108 let
109109 tmp = lamderaCache root <> " /tmp.js"
110- scaffold = lamderaCache root <> " /Main .elm"
110+ scaffold = lamderaCache root <> " /Main_ .elm"
111111
112112 debug $ " 🏗 lamdera make " <> scaffold
113113
114- writeUtf8 scaffold " module Main exposing (..)\n\n import Frontend\n import Backend\n import Types\n import Html\n\n main = Html.text \"\" "
114+ writeUtf8 scaffold " module Main_ exposing (..)\n\n import Frontend\n import Backend\n import Types\n import Html\n\n main = Html.text \"\" "
115115
116116 r <- async $
117117 Dir. withCurrentDirectory root $
You can’t perform that action at this time.
0 commit comments