mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 02:13:49 +00:00
0d61c78f73
This could be made even simpler by not using a LESS varialbe for hacks.less, but loading it conditionally through the moduel def. But, as a first step we can merge the two as-is. Given that the subject and target are always referenced together in page views, there is no need to keep an alias around. However, I'm keeping it anyway so as to not produce any `/* {"skins.foo":"missing"} */` appendix to the stylesheet response for these cached URLs. Bug: T266361 Change-Id: I8578faab8ca32bd49be90711cbd5e182763b8065
11 lines
507 B
JavaScript
11 lines
507 B
JavaScript
import { configure } from '@storybook/html';
|
|
// Ideally we'd import at the story level, but we will need to reorganise our styles first.
|
|
import '../resources/skins.minerva.base.styles/skin.less';
|
|
import '../resources/skins.minerva.scripts/styles.less';
|
|
|
|
import '../skinStyles/mediawiki.hlist/minerva.less';
|
|
import '../skinStyles/mediawiki.ui.icon/mediawiki.ui.icon.less';
|
|
|
|
// Automatically import all files ending in `*.stories.js`.
|
|
configure(require.context('../stories', true, /\.stories\.js$/), module);
|