Skip to content

Getting ":optimizations :none" to work #75

@mike-thompson-day8

Description

@mike-thompson-day8

The project Readme says:

clojurescript.test supports all of Google Closure's compilation modes, including :advanced

But that's untrue. This framework does not handle :optimizations :none. I tried. It failed. I researched. I figured out it was impossible.

But if I retreat to, say, :optimizations :whiteapce the compile time delays get in the way of a good fast iterative workflow. I needed the near-instant compile time speed of :optimizations :none !!

In the end, I worked out a method, which I documented here:
https://github.com/mike-thompson-day8/cljsbuild-none-test-seed

Feel free to use the material in there as you see fit. For example, the repo contains a specific phantomjs runner for this :none setting which you may find easy to incorporate. And the test.html will be of interest too, I believe.

I didn't want to produce a patch because I didn't know what (if anything) you'd want to use and how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions