Skip to content

Commit 687821b

Browse files
Keep vue sass loader dependency (#286)
When a vue.js project uses sass loading the corresponding dependencies must be kept in place. For: https://shiftleftinc.atlassian.net/browse/SEN-1120
1 parent 8bbd5db commit 687821b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/io/shiftleft/js2cpg/preprocessing/TranspilationRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TranspilationRunner(projectPath: Path, tmpTranspileDir: Path, config: Conf
2424

2525
private val transpilers: Seq[Transpiler] = createTranspilers()
2626

27-
private val DEPS_TO_KEEP: List[String] = List("@vue", "vue", "nuxt")
27+
private val DEPS_TO_KEEP: List[String] = List("@vue", "vue", "nuxt", "sass", "node-sass")
2828

2929
private def createTranspilers(): Seq[Transpiler] = {
3030
// We always run the following transpilers by default when not stated otherwise in the Config.

0 commit comments

Comments
 (0)