Skip to content

Trying out ClojureScript's experimental :npm-deps compiler option with OpenLayers (ES6), figwheel-main and Cider

Notifications You must be signed in to change notification settings

vharmain/npm-deps-experiment

Repository files navigation

Openlayers (ES6) with figwheel-main and :npm-deps

Trying out ClojureScript's experimental :npm-deps compiler option with OpenLayers ES6 modules.

Overview

Project was created using figwheel-main-template. Includes also setup that works with Cider.

Sources of information:

Development

To hook into cider use simply:

M-x cider-jack-in-cljs

How it works? See .dir-locals.el

To get an interactive development environment run:

clojure -A:fig:build

To create a production build run:

rm -rf target/public
clojure -A:fig:min-simple

Sadly OpenLayers breaks under :advanced optimizations. Following compiles but map doesn't load properly:

clojure -A:fig:min

About

Trying out ClojureScript's experimental :npm-deps compiler option with OpenLayers (ES6), figwheel-main and Cider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published