Skip to content

Commit 362ef65

Browse files
authored
Merge pull request #967 from plotly/fix-some-updates
Fix some updates
2 parents 8d96d00 + 33a864b commit 362ef65

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.storybook/webpack.config.js

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
const path = require('path');
22

3-
module.exports = {
4-
devtool: 'false',
5-
module: {
6-
rules: [
7-
{
8-
test: /\.(css|scss)?$/,
9-
loaders: ['style-loader', 'css-loader', 'sass-loader'],
10-
include: path.resolve(__dirname, '../'),
11-
},
12-
],
13-
},
3+
module.exports = async ({config, mode}) => {
4+
config.module.rules.push({
5+
test: /\.scss$/,
6+
use: ['style-loader', 'css-loader', 'sass-loader'],
7+
include: path.resolve(__dirname, '../'),
8+
});
9+
return config;
1410
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"node-sass": "4.12.0",
6565
"postcss": "7.0.18",
6666
"postcss-combine-duplicated-selectors": "8.0.2",
67-
"postcss-custom-properties": "9.0.2",
67+
"postcss-custom-properties": "8.0.11",
6868
"postcss-remove-root": "0.0.2",
6969
"prettier": "1.18.2",
7070
"react": "16.9.0",

0 commit comments

Comments
 (0)