Skip to content

Commit

Permalink
Enable surface compiler with :generate_assets set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
msaraiva committed Sep 18, 2024
1 parent 4b57e42 commit 211cb2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ if Mix.env() == :dev do
config :surface_catalogue, Surface.Catalogue.Server.Endpoint,
code_reloader: true,
debug_errors: true

config :surface, :compiler, generate_assets: false
end
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ defmodule Surface.Form.MixProject do
description: "Wrappers for Phoenix.HTML.Form functions",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers() ++ [:surface],
aliases: aliases(),
deps: deps(),
preferred_cli_env: [docs: :docs],
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"plug_crypto": {:hex, :plug_crypto, "2.1.0", "f44309c2b06d249c27c8d3f65cfe08158ade08418cf540fd4f72d4d6863abb7b", [:mix], [], "hexpm", "131216a4b030b8f8ce0f26038bc4421ae60e4bb95c5cf5395e1421437824c4fa"},
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
"sourceror": {:hex, :sourceror, "1.0.3", "111711c147f4f1414c07a67b45ad0064a7a41569037355407eda635649507f1d", [:mix], [], "hexpm", "56c21ef146c00b51bc3bb78d1f047cb732d193256a7c4ba91eaf828d3ae826af"},
"surface": {:git, "https://github.com/surface-ui/surface.git", "1f105ed5e00cfa58ff4f84bfa7f32256e5b728c4", []},
"surface": {:git, "https://github.com/surface-ui/surface.git", "b1318ecba7af0a026e331f3c652d6da098028dcb", []},
"surface_catalogue": {:git, "https://github.com/surface-ui/surface_catalogue.git", "c3b79034a0d4a5b7378f1e9d510debd29e555f45", []},
"telemetry": {:hex, :telemetry, "1.3.0", "fedebbae410d715cf8e7062c96a1ef32ec22e764197f70cda73d82778d61e7a2", [:rebar3], [], "hexpm", "7015fc8919dbe63764f4b4b87a95b7c0996bd539e0d499be6ec9d7f3875b79e6"},
"websock": {:hex, :websock, "0.5.3", "2f69a6ebe810328555b6fe5c831a851f485e303a7c8ce6c5f675abeb20ebdadc", [:mix], [], "hexpm", "6105453d7fac22c712ad66fab1d45abdf049868f253cf719b625151460b8b453"},
Expand Down

0 comments on commit 211cb2d

Please sign in to comment.