Use react-sdk Reskindex plugin

This automates that reskindexing so that running `npm run reskindex` is not necessary when adding a component - it's built into the build process.
This commit is contained in:
Luke Barnard
2017-05-05 15:14:15 +01:00
parent e1cd046c1a
commit c529ef644c
3 changed files with 5 additions and 3 deletions
+3
View File
@@ -2,6 +2,7 @@ const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ReskindexPlugin = require('matrix-react-sdk/lib/utils/ReskindexPlugin');
module.exports = {
entry: {
@@ -124,6 +125,8 @@ module.exports = {
// about moving them.
inject: false,
}),
new ReskindexPlugin('./node_modules/matrix-react-sdk/header'),
],
devtool: 'source-map',