mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
mini-css plugin added to storybook
This commit is contained in:
parent
855644896f
commit
708c387ea0
1 changed files with 5 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
const appConfig = require('../webpack.config.js');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
|
||||
module.exports = async ({ config: storybookConfig }) => {
|
||||
storybookConfig.module = {
|
||||
|
|
@ -16,6 +17,10 @@ module.exports = async ({ config: storybookConfig }) => {
|
|||
...storybookConfig.resolve.alias,
|
||||
...appConfig.resolve.alias
|
||||
};
|
||||
storybookConfig.plugins = [
|
||||
...storybookConfig.plugins,
|
||||
new MiniCssExtractPlugin()
|
||||
];
|
||||
|
||||
return storybookConfig;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue