Change CSS dependencies to not hardcoded paths
Add add direct dependencies on the packages they come from, because referring to them by path like this doesn't work in a frash checkout / npm install because of how npm lays out the packages.
This commit is contained in:
parent
083dd4eeec
commit
981bd94615
2 changed files with 8 additions and 4 deletions
|
@ -58,8 +58,12 @@
|
|||
"babel-runtime": "^6.11.6",
|
||||
"bluebird": "^3.5.0",
|
||||
"browser-request": "^0.3.3",
|
||||
"draft-js": "^0.10.5",
|
||||
"extract-text-webpack-plugin": "^0.9.1",
|
||||
"favico.js": "^0.3.10",
|
||||
"gemini-scrollbar": "^1.5.3",
|
||||
"gfm.css": "^1.1.2",
|
||||
"highlight.js": "^9.12.0",
|
||||
"matrix-js-sdk": "0.10.2-rc.1",
|
||||
"matrix-react-sdk": "0.12.3-rc.2",
|
||||
"modernizr": "^3.1.0",
|
||||
|
|
|
@ -32,10 +32,10 @@ require('babel-polyfill');
|
|||
// Require common CSS here; this will make webpack process it into bundle.css.
|
||||
// Our own CSS (which is themed) is imported via separate webpack entry points
|
||||
// in webpack.config.js
|
||||
require('matrix-react-sdk/node_modules/gemini-scrollbar/gemini-scrollbar.css');
|
||||
require('matrix-react-sdk/node_modules/gfm.css/gfm.css');
|
||||
require('matrix-react-sdk/node_modules/highlight.js/styles/github.css');
|
||||
require('matrix-react-sdk/node_modules/draft-js/dist/Draft.css');
|
||||
require('gemini-scrollbar/gemini-scrollbar.css');
|
||||
require('gfm.css/gfm.css');
|
||||
require('highlight.js/styles/github.css');
|
||||
require('draft-js/dist/Draft.css');
|
||||
|
||||
const rageshake = require("matrix-react-sdk/lib/rageshake/rageshake");
|
||||
rageshake.init().then(() => {
|
||||
|
|
Loading…
Reference in a new issue