134 lines
5.1 KiB
Diff
134 lines
5.1 KiB
Diff
diff --git a/package.json b/package.json
|
|
index f121431..97f1b11 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -28,5 +28,10 @@
|
|
"vite-plugin-pwa": "^0.20.5"
|
|
},
|
|
"license": "Apache-2.0",
|
|
- "packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
|
|
+ "packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4",
|
|
+ "pnpm": {
|
|
+ "patchedDependencies": {
|
|
+ "sass-embedded": "patches/sass-embedded.patch"
|
|
+ }
|
|
+ }
|
|
}
|
|
diff --git a/patches/sass-embedded.patch b/patches/sass-embedded.patch
|
|
new file mode 100644
|
|
index 0000000..f941a8e
|
|
--- /dev/null
|
|
+++ b/patches/sass-embedded.patch
|
|
@@ -0,0 +1,15 @@
|
|
+diff --git a/dist/lib/src/compiler-path.js b/dist/lib/src/compiler-path.js
|
|
+index ae33aa3028e1a120d9e84b043bb19a71f1083b96..7a49d16a54982312ad638632d6750d7bec670f02 100644
|
|
+--- a/dist/lib/src/compiler-path.js
|
|
++++ b/dist/lib/src/compiler-path.js
|
|
+@@ -24,6 +24,10 @@ function isLinuxMusl(path) {
|
|
+ }
|
|
+ /** The full command for the embedded compiler executable. */
|
|
+ exports.compilerCommand = (() => {
|
|
++ const binPath = process.env.SASS_EMBEDDED_BIN_PATH;
|
|
++ if (binPath) {
|
|
++ return [binPath];
|
|
++ }
|
|
+ const platform = process.platform === 'linux' && isLinuxMusl(process.execPath)
|
|
+ ? 'linux-musl'
|
|
+ : process.platform;
|
|
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
|
|
index 4c4267a..fd278e1 100644
|
|
--- a/pnpm-lock.yaml
|
|
+++ b/pnpm-lock.yaml
|
|
@@ -4,6 +4,11 @@ settings:
|
|
autoInstallPeers: true
|
|
excludeLinksFromLockfile: false
|
|
|
|
+patchedDependencies:
|
|
+ sass-embedded:
|
|
+ hash: 6wjvcsryx2tfkpottp4wf5nbzi
|
|
+ path: patches/sass-embedded.patch
|
|
+
|
|
importers:
|
|
|
|
.:
|
|
@@ -26,7 +31,7 @@ importers:
|
|
devDependencies:
|
|
'@vitejs/plugin-vue':
|
|
specifier: ^5.1.4
|
|
- version: 5.1.4(vite@5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0))(vue@3.5.12)
|
|
+ version: 5.1.4(vite@5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0))(vue@3.5.12)
|
|
'@vue/eslint-config-prettier':
|
|
specifier: ^10.0.0
|
|
version: 10.0.0(eslint@9.12.0)(prettier@3.3.3)
|
|
@@ -44,13 +49,13 @@ importers:
|
|
version: 3.3.3
|
|
sass-embedded:
|
|
specifier: ^1.79.5
|
|
- version: 1.79.5
|
|
+ version: 1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi)
|
|
vite:
|
|
specifier: ^5.4.9
|
|
- version: 5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0)
|
|
+ version: 5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0)
|
|
vite-plugin-pwa:
|
|
specifier: ^0.20.5
|
|
- version: 0.20.5(vite@5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0))(workbox-build@7.1.0)(workbox-window@7.1.0)
|
|
+ version: 0.20.5(vite@5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0))(workbox-build@7.1.0)(workbox-window@7.1.0)
|
|
|
|
packages:
|
|
|
|
@@ -3516,9 +3521,9 @@ snapshots:
|
|
|
|
'@types/trusted-types@2.0.7': {}
|
|
|
|
- '@vitejs/plugin-vue@5.1.4(vite@5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0))(vue@3.5.12)':
|
|
+ '@vitejs/plugin-vue@5.1.4(vite@5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0))(vue@3.5.12)':
|
|
dependencies:
|
|
- vite: 5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0)
|
|
+ vite: 5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0)
|
|
vue: 3.5.12
|
|
|
|
'@vue/compiler-core@3.5.12':
|
|
@@ -4693,7 +4698,7 @@ snapshots:
|
|
sass-embedded-win32-x64@1.79.5:
|
|
optional: true
|
|
|
|
- sass-embedded@1.79.5:
|
|
+ sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi):
|
|
dependencies:
|
|
'@bufbuild/protobuf': 2.2.0
|
|
buffer-builder: 0.2.0
|
|
@@ -4975,18 +4980,18 @@ snapshots:
|
|
|
|
varint@6.0.0: {}
|
|
|
|
- vite-plugin-pwa@0.20.5(vite@5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0))(workbox-build@7.1.0)(workbox-window@7.1.0):
|
|
+ vite-plugin-pwa@0.20.5(vite@5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0))(workbox-build@7.1.0)(workbox-window@7.1.0):
|
|
dependencies:
|
|
debug: 4.3.7
|
|
pretty-bytes: 6.1.1
|
|
tinyglobby: 0.2.9
|
|
- vite: 5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0)
|
|
+ vite: 5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0)
|
|
workbox-build: 7.1.0
|
|
workbox-window: 7.1.0
|
|
transitivePeerDependencies:
|
|
- supports-color
|
|
|
|
- vite@5.4.9(sass-embedded@1.79.5)(sass@1.79.5)(terser@5.35.0):
|
|
+ vite@5.4.9(sass-embedded@1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi))(sass@1.79.5)(terser@5.35.0):
|
|
dependencies:
|
|
esbuild: 0.21.5
|
|
postcss: 8.4.47
|
|
@@ -4994,7 +4999,7 @@ snapshots:
|
|
optionalDependencies:
|
|
fsevents: 2.3.3
|
|
sass: 1.79.5
|
|
- sass-embedded: 1.79.5
|
|
+ sass-embedded: 1.79.5(patch_hash=6wjvcsryx2tfkpottp4wf5nbzi)
|
|
terser: 5.35.0
|
|
|
|
vue-eslint-parser@9.4.3(eslint@9.12.0):
|
|
--
|
|
2.47.0
|