Skip to content

Commit 403569f

Browse files
authored
fix: Configure vite to use modern sass compiler (#514)
Because the legacy api of Dart Sass is deprecated, this commit will: - configure Vite to use the modern compiler api instead **Certification** - [X] I certify that <!-- Check the box to certify: [X] --> - I have read the [contributing guidelines]( https://github.com/nodepa/seedlingo/blob/main/.github/CONTRIBUTING.md) - I license these contributions to the public under Seedlingo's [LICENSE](https://github.com/nodepa/seedlingo/blob/main/LICENSE.md) and have the rights to do so. Signed-off-by: toshify <4579559+toshify@users.noreply.github.com>
1 parent c282fc5 commit 403569f

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

app/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "org.nodepa.seedlingo"
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 78
11-
versionName "1.5.6"
10+
versionCode 79
11+
versionName "1.5.7"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "seedlingo",
3-
"version": "1.5.6",
3+
"version": "1.5.7",
44
"description": "Modern mobile multi-language literacy - A first-language digital learning tool for adults",
55
"homepage": "https://seedlingo.com/get-started",
66
"bugs": "https://github.com/nodepa/seedlingo/issues",
@@ -118,4 +118,4 @@
118118
"node": "18.20.4",
119119
"npm": "10.8.3"
120120
}
121-
}
121+
}

app/vite.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,11 @@ export default defineConfig({
7575
},
7676
},
7777
},
78+
css: {
79+
preprocessorOptions: {
80+
scss: {
81+
api: 'modern-compiler',
82+
},
83+
},
84+
},
7885
});

0 commit comments

Comments
 (0)