ca0v / ol3-popup

OpenLayers 3 popup overlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bower installation does not work

ca0v opened this issue · comments

Add the compiled built/*.js files so bower can install them.

bower install ol3-paging-popup#2.0.5 is installing the ts files and the built files. But missing from built is an AMD loadable package, so the typescript files need to be compiled into built using tsc -p tsconfig-deploy.json.

Since tsconfig-deploy.json isn't installed by bower you're out of luck! You have to load built/run.js via <script>.

This is actually not an issue since the ts source is already included. The built/*.js files are more for a vanilla JS environment. In a TS environment reference the source directly. The one problem I see is that the source will be in bower_components and therefore it is being ignored via "exclude" in tsconfig.json.