chore(leaflet-js-intg): refactor
This commit is contained in:
parent
5883681393
commit
132bf5dd82
|
@ -1,5 +1,6 @@
|
||||||
import React, { useEffect, useRef, useState } from 'react'
|
import React, { useEffect, useRef, useState } from 'react'
|
||||||
import L from 'leaflet'
|
import L from 'leaflet'
|
||||||
|
|
||||||
import "leaflet/dist/leaflet.css";
|
import "leaflet/dist/leaflet.css";
|
||||||
import icon from "leaflet/dist/images/marker-icon.png";
|
import icon from "leaflet/dist/images/marker-icon.png";
|
||||||
import iconShadow from "leaflet/dist/images/marker-shadow.png";
|
import iconShadow from "leaflet/dist/images/marker-shadow.png";
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"build": "webpack --config config/webpack.prod.js"
|
"build": "webpack --config config/webpack.prod.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.21.4",
|
"@babel/core": "7.22.10",
|
||||||
"@babel/preset-env": "7.21.4",
|
"@babel/preset-env": "7.21.4",
|
||||||
"@babel/preset-react": "7.18.6",
|
"@babel/preset-react": "7.18.6",
|
||||||
"babel-loader": "9.1.2",
|
"babel-loader": "9.1.2",
|
||||||
|
|
Loading…
Reference in New Issue