added postcss

This commit is contained in:
AT 2022-07-11 17:59:36 +02:00
parent 08a7824499
commit 6f362b8071
5 changed files with 2042 additions and 32 deletions

2058
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,7 @@
"dependencies": {
"leaflet": "^1.8.0",
"react-leaflet": "^3.2.5",
"react-leaflet-cluster": "^1.0.4"
"react-leaflet-cluster": "^1.0.4",
"rollup-plugin-postcss": "^4.0.2"
}
}

View File

@ -1,4 +1,4 @@
import sass from 'rollup-plugin-sass'
import postcss from 'rollup-plugin-postcss'
import typescript from 'rollup-plugin-typescript2'
import pkg from './package.json'
@ -15,7 +15,9 @@ export default {
}
],
plugins: [
sass({ insert: true }),
postcss({
plugins: []
}),
typescript()
],
external: ['react', 'react-dom']

View File

@ -4,7 +4,7 @@ import * as React from "react";
import MarkerIconFactory from './Utils/MarkerIconFactory';
import MarkerPopup from "./Components/Map/MarkerPopup";
import { Item, Tag } from "./types"
import "./styles.scss"
import "./styles.css"
import { LatLng } from "leaflet";
import MarkerClusterGroup from 'react-leaflet-cluster'

View File

@ -1,5 +0,0 @@
.leaflet-data-marker {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAQCAYAAACcN8ZaAAAB3klEQVR42s3U4UdDURzG8czMXJnJ1Vwzc6VJZjaZJdlMlpQsKdmUFNOUspRSSqUolfQfr+fF98Vx5mwv9qbDx7LdznnO7/7Omej3+/+Ga0QMUYkhbvBgmhzCQxwxibIGrGEF8CQhU+LLtKQkQNqScUgjxRxTBIxbgfgD/BgnhM8kM5KTeclLQYqGkkMRBckzR8ic/mAgd5BAZplsUaqyIg2sDtHg2brUZJk5SmwopErJUWE8SpmTMhNvya60Zd/SNrR4bkeaskG4uiwRZk6yrJEYFibGAxn+scECHTmTnuVCzvmty3PHciB7bGKN6lQkzysPqIrHmpFhYbKUtckC1/Ioz4ZHuZdbuSLYiRxRpSZVWXZVxAzC0R4Ik5SQsu6w8yd5l2/5kg95I9SdXMoZQfYIUjeqEUrgOkXGPeN4TYRhxy8E+ZUf+eS7B7miIoeybVSjKDnm8u3+gH3pDTYwu1igATvs/pXqvBKiR4i2bNJfi1ZfUAnjgrOG8wY2quNzBKuU/ZS+uSFEl5O0xRGuUIlZCcw7xG5QPkeHYUSNV5WXGou2sC3rBC0LjenqCXGO0WEiTJa0Lr4KixdHBrDGuGGiRqCUpFk8pGIpQtCU7p4YPwxYxEMCk1aAMQZh8Ac8PfbIzYPJOwAAAABJRU5ErkJggg==') no-repeat;
background-position: 6px 32px;
}