mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
fix(maps): remove style loader usage
leaflet.css already included into build in the angular.json
This commit is contained in:
parent
6075033ca2
commit
38286974d4
2 changed files with 1 additions and 3 deletions
|
|
@ -55,8 +55,7 @@
|
||||||
"echarts",
|
"echarts",
|
||||||
"lodash",
|
"lodash",
|
||||||
"zrender/lib/svg/svg",
|
"zrender/lib/svg/svg",
|
||||||
"zrender/lib/vml/vml",
|
"zrender/lib/vml/vml"
|
||||||
"style-loader!leaflet/dist/leaflet.css"
|
|
||||||
],
|
],
|
||||||
"vendorChunk": true,
|
"vendorChunk": true,
|
||||||
"extractLicenses": false,
|
"extractLicenses": false,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
import * as L from 'leaflet';
|
import * as L from 'leaflet';
|
||||||
import 'style-loader!leaflet/dist/leaflet.css';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ngx-leaflet',
|
selector: 'ngx-leaflet',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue