Storybook: Bring back theme switch (#22826)

This commit is contained in:
Dominik Prokop 2020-03-17 09:52:46 +01:00 committed by GitHub
parent cd50da3dbe
commit 22fc1e91f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,8 @@ module.exports = ({ config, mode }) => {
test: /\.scss$/,
use: [
{
loader: 'style-loader/useable',
loader: 'style-loader',
options: { injectType: 'lazyStyleTag' }
},
{
loader: 'css-loader',
@ -77,5 +78,6 @@ module.exports = ({ config, mode }) => {
config.stats = {
warningsFilter: /export .* was not found in/,
};
return config;
};