Switch to using object urls so we don't need ajax for mapbox-gl-rtl-text plugin (issue #126)

This commit is contained in:
orangemug
2017-04-11 17:29:28 +01:00
parent f97d2b0e88
commit 14cdeae3eb
5 changed files with 15 additions and 21 deletions

View File

@@ -3,7 +3,6 @@ var webpack = require('webpack');
var path = require('path');
var loaders = require('./webpack.loaders');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
const HOST = process.env.HOST || "127.0.0.1";
const PORT = process.env.PORT || "8888";
@@ -50,12 +49,6 @@ module.exports = {
new HtmlWebpackPlugin({
title: 'Maputnik',
template: './src/template.html'
}),
new CopyWebpackPlugin([
{
from: "node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js",
to: "mapbox-gl/plugins/mapbox-gl-rtl-text.js"
}
]),
})
]
};