Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Stop bundling xregexp
This change makes cuerdas compatible with the latest ClojureScript release: npm dependencies does not need to be bundled and they can be declared by adding a key in deps.cljs - the compiler will see the dep is declared and will try to install in dependent libraries.
- Loading branch information
1 parent
3f6eca1
commit a8443724e22435e052af4149b27dd2169f3216ac
Showing
7 changed files
with
8 additions
and
2,705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
{:externs ["externs.js"] | ||
:foreign-libs | ||
[{:file "xregexp/xregexp.js" | ||
niwinz
Member
|
||
:file-min "xregexp/xregexp.min.js" | ||
:provides ["cuerdas.vendor.xregexp"]}]} | ||
:npm-deps {:xregexp "4.2.0"}} |
Oops, something went wrong.
Removing the foreign lib of xregexp prevents me from using cuerdas from clojurescript, I get errors surrounding the non-existence of xregexp in versions after this change. Running
lein deps
also does not pull in the appropriate dependency. Is there something i'm missing?Cheers