Skip to content

Commit

Permalink
theme switch (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Jos Storer <joshua1466587594@outlook.com>
  • Loading branch information
99percentpeople authored and josStorer committed Dec 16, 2022
1 parent be8c6e3 commit 3dbd3c7
Show file tree
Hide file tree
Showing 12 changed files with 633 additions and 157 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
"sourceType": "module"
},
"rules": {
"react/react-in-jsx-scope": "off"
"react/react-in-jsx-scope": "off",
"react/no-children-prop": [
"on",
{
"allowFunctions": true
}
]
},
"ignorePatterns": ["build/**"]
}
15 changes: 15 additions & 0 deletions build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ async function runWebpack(callback) {
},
],
},
{
test: /\.s[ac]ss$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {
importLoaders: 1,
},
},
{
loader: 'sass-loader',
},
],
},
{
test: /\.less$/,
use: [
Expand Down
Loading

0 comments on commit 3dbd3c7

Please sign in to comment.