Added @mapbox/mapbox-gl-rtl-text plugin (fixes #126)

This commit is contained in:
orangemug
2017-04-11 08:18:29 +01:00
parent a7e2154422
commit f97d2b0e88
4 changed files with 19 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ 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,5 +51,11 @@ module.exports = {
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"
}
]),
]
};