Skip to content

Instantly share code, notes, and snippets.

@swannodette
Last active August 29, 2015 14:13
Show Gist options
  • Save swannodette/0eaf17815d49b7b77a95 to your computer and use it in GitHub Desktop.
Save swannodette/0eaf17815d49b7b77a95 to your computer and use it in GitHub Desktop.
{:optimizations :advanced
:output-dir "./target/client/production/"
:cache-analysis true
:output-modules {
{:id :common
:out "./resources/assets/js/common.js"
:entries '#{com.foo.common}}
{:id :landing
:out "./resources/assets/js/landing.js"
:entries '#{com.foo.landing}
:deps #{:common}
{:id :editor
:out "./resources/assets/js/editor.js"
:entries '#{com.foo.editor}
:deps #{:common}}}}}
@danielytics
Copy link

Quick question on the current proposal - are entry points purely for the purpose of computing dependencies (ie entry points for the dependency graph, not for execution)?

Besides that, it looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment