diff client/src/store/map.js @ 2985:1b8bb4f89227

client: removed .js and .vue extention from imports
author Markus Kottlaender <markus@intevation.de>
date Tue, 09 Apr 2019 18:38:15 +0200
parents b74ebeb2bdc8
children 888a3454c3ae
line wrap: on
line diff
--- a/client/src/store/map.js	Tue Apr 09 18:23:07 2019 +0200
+++ b/client/src/store/map.js	Tue Apr 09 18:38:15 2019 +0200
@@ -16,20 +16,20 @@
 
 //import { HTTP } from "../lib/http";
 
-import TileWMS from "ol/source/TileWMS.js";
-import { Tile as TileLayer, Vector as VectorLayer } from "ol/layer.js";
+import TileWMS from "ol/source/TileWMS";
+import { Tile as TileLayer, Vector as VectorLayer } from "ol/layer";
 import OSM from "ol/source/OSM";
-import Draw from "ol/interaction/Draw.js";
-import { Icon, Stroke, Style, Fill, Text, Circle } from "ol/style.js";
-import VectorSource from "ol/source/Vector.js";
-import Point from "ol/geom/Point.js";
+import Draw from "ol/interaction/Draw";
+import { Icon, Stroke, Style, Fill, Text, Circle } from "ol/style";
+import VectorSource from "ol/source/Vector";
+import Point from "ol/geom/Point";
 import { bbox as bboxStrategy } from "ol/loadingstrategy";
 import { HTTP } from "@/lib/http";
 import { fromLonLat } from "ol/proj";
-import { getLength, getArea } from "ol/sphere.js";
+import { getLength, getArea } from "ol/sphere";
 import { unByKey } from "ol/Observable";
 import { getCenter } from "ol/extent";
-import { transformExtent } from "ol/proj.js";
+import { transformExtent } from "ol/proj";
 import bbox from "@turf/bbox";
 import app from "@/main";