mirror of
https://github.com/penpot/penpot.git
synced 2025-01-07 15:39:42 -05:00
🎉 Add externds (fixes an issue on prod build).
This commit is contained in:
parent
c907126b60
commit
b563ab445c
2 changed files with 15 additions and 6 deletions
5
frontend/externs/main.txt
Normal file
5
frontend/externs/main.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
getBrowserEvent
|
||||
viewBox
|
||||
baseVal
|
||||
width
|
||||
height
|
|
@ -9,9 +9,13 @@
|
|||
:output-dir "resources/public/js/"
|
||||
:asset-path "/js"
|
||||
:modules {:main {:entries [uxbox.main]}}
|
||||
:compiler-options {:output-feature-set :es8}
|
||||
:release {:output-dir "target/dist/js"
|
||||
:compiler-options {:fn-invoke-direct true
|
||||
:source-map true
|
||||
:anon-fn-naming-policy :mapped
|
||||
:source-map-detail-level :all}}}}}
|
||||
:compiler-options
|
||||
{:output-feature-set :es8
|
||||
:output-wrapper false}
|
||||
:release
|
||||
{:output-dir "target/dist/js"
|
||||
:compiler-options
|
||||
{:fn-invoke-direct true
|
||||
:source-map true
|
||||
:anon-fn-naming-policy :mapped
|
||||
:source-map-detail-level :all}}}}}
|
||||
|
|
Loading…
Reference in a new issue