diff --git a/assets/webpack.config.js b/assets/webpack.config.js index 3fa09988..84deaff0 100755 --- a/assets/webpack.config.js +++ b/assets/webpack.config.js @@ -23,10 +23,8 @@ module.exports = (env) => { context: __dirname, entry: { - app: [ - "js/app.js", - "stylus/app.styl" - ] + styles: ["stylus/app.styl"], + app: ["js/app.js"], }, output: { diff --git a/lib/candidate_website/views/layout_view.ex b/lib/candidate_website/views/layout_view.ex index dbc3644d..69e238b2 100644 --- a/lib/candidate_website/views/layout_view.ex +++ b/lib/candidate_website/views/layout_view.ex @@ -9,7 +9,11 @@ defmodule CandidateWebsite.LayoutView do ~s() ) - @css_src Application.get_env(:candidate_website, :css_src, "") + @css_src Application.get_env( + :candidate_website, + :css_src, + ~s() + ) def js_script_tag, do: @script_src