Skip to content

Commit 78ade1c

Browse files
authored
Merge pull request #2374 from cloudnativedaysjp/renovate/sass-loader-16.x
fix(deps): update dependency sass-loader to v16
2 parents a4e7173 + 76cb8c8 commit 78ade1c

File tree

4 files changed

+43
-6
lines changed

4 files changed

+43
-6
lines changed

.claude/settings.local.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"WebFetch(domain:github.com)",
5+
"Bash(grep:*)",
6+
"Bash(gh pr checkout:*)",
7+
"Bash(git reset:*)",
8+
"Bash(npm install)",
9+
"Bash(npm run build:*)",
10+
"Bash(npm install:*)",
11+
"Bash(bundle exec:*)",
12+
"Bash(DOCKER_BUILDKIT=1 docker compose up db redis nginx localstack -d)",
13+
"Bash(rm:*)",
14+
"Bash(yarn install)",
15+
"Bash(yarn build)",
16+
"Bash(git push:*)",
17+
"Bash(git checkout:*)",
18+
"Bash(git pull:*)",
19+
"Bash(git stash:*)",
20+
"Bash(git add:*)",
21+
"Bash(git commit:*)"
22+
],
23+
"deny": []
24+
}
25+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"postcss": "^8.4.39",
2727
"postcss-cli": "^11.0.0",
2828
"sass": "^1.77.6",
29-
"sass-loader": "^14.2.1",
29+
"sass-loader": "^16.0.0",
3030
"sortablejs": "^1.15.3",
3131
"video.js": "8.5.2",
3232
"webpack": "^5.92.1",

webpack.config.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,19 @@ module.exports = {
7878
// ローダーを含むCSS/SASS/SCSSルールをここに追加する
7979
{
8080
test: /\.(?:sa|sc|c)ss$/i,
81-
use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'],
81+
use: [
82+
MiniCssExtractPlugin.loader,
83+
'css-loader',
84+
{
85+
loader: 'sass-loader',
86+
options: {
87+
api: 'modern-compiler',
88+
sassOptions: {
89+
style: process.env.NODE_ENV === 'production' ? 'compressed' : 'expanded',
90+
},
91+
},
92+
},
93+
],
8294
},
8395
{
8496
test: /\.(png|jpe?g|gif|eot|woff2|woff|ttf|svg)$/i,

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,10 +1739,10 @@ safe-json-parse@4.0.0:
17391739
dependencies:
17401740
rust-result "^1.0.0"
17411741

1742-
sass-loader@^14.2.1:
1743-
version "14.2.1"
1744-
resolved "https://registry.npmjs.org/sass-loader/-/sass-loader-14.2.1.tgz"
1745-
integrity sha512-G0VcnMYU18a4N7VoNDegg2OuMjYtxnqzQWARVWCIVSZwJeiL9kg8QMsuIZOplsJgTzZLF6jGxI3AClj8I9nRdQ==
1742+
sass-loader@^16.0.0:
1743+
version "16.0.4"
1744+
resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-16.0.4.tgz#5c2afb755fbc0a45a004369efa11579518a39a45"
1745+
integrity sha512-LavLbgbBGUt3wCiYzhuLLu65+fWXaXLmq7YxivLhEqmiupCFZ5sKUAipK3do6V80YSU0jvSxNhEdT13IXNr3rg==
17461746
dependencies:
17471747
neo-async "^2.6.2"
17481748

0 commit comments

Comments
 (0)