mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
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:
@@ -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',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user