Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONL-5955: Update to postcss8 #884

Merged
merged 13 commits into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,3 @@ updates:
- dependency-name: cypress
versions:
- ">= 6"
- dependency-name: "@fullhuman/postcss-purgecss"
versions:
- ">= 3.1"
- dependency-name: purgecss
versions:
- ">= 3.1"
- dependency-name: autoprefixer
versions:
- ">= 10"
- dependency-name: postcss-nested
versions:
- ">= 5"
- dependency-name: postcss-import
versions:
- ">= 13"
- dependency-name: postcss-mixins
versions:
- ">= 7"
13 changes: 9 additions & 4 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ module.exports = {
'@storybook/addon-essentials',
'@storybook/addon-knobs',
'@storybook/addon-links',
'@storybook/addon-postcss',
{
name: '@storybook/addon-postcss',
options: {
postcssLoaderOptions: {
// eslint-disable-next-line global-require
implementation: require('postcss'),
},
},
},
],
webpackFinal: (config) => {
config.resolve.alias = {
...config.resolve.alias,
};
config.module.rules.push({
test: /\.story\.jsx?$/,
loaders: [require.resolve('@storybook/source-loader')],
Expand Down
5 changes: 3 additions & 2 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import hotpinkTheme from '!!raw-loader!../src/styles/themes/hotpink.css';
import config from '../src/config';

import '../src/styles/themes/blue.css';
import '../src/styles/main.css';
// eslint-disable-next-line import/no-webpack-loader-syntax
import '!!style-loader!css-loader!postcss-loader!../src/styles/main.css';

config.sensitiveClass = 'tw-filter-blur-4';
config.sensitiveClass = 'tw-filter tw-blur-4';

export const parameters = {
viewMode: 'docs',
Expand Down
Loading