mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 00:20:00 +00:00
Merge pull request #553 from orangemug/maintenance/update-deps-20191009
Update dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import MapboxGl from 'mapbox-gl'
|
||||
import {readFileSync} from 'fs'
|
||||
|
||||
// Load mapbox-gl-rtl-text using object urls without needing http://localhost for AJAX.
|
||||
const data = require("raw-loader?mimetype=text/javascript!@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js");
|
||||
const data = readFileSync(__dirname+"/../../node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js", "utf8");
|
||||
|
||||
const blob = new window.Blob([data], {
|
||||
type: "text/javascript"
|
||||
|
||||
Reference in New Issue
Block a user