Skip to content

Commit 3f3b505

Browse files
author
Ives van Hoorne
committed
Fix stylus loader
1 parent 79d4321 commit 3f3b505

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sandbox/eval/transpilers/vue/loader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ const getStyleLoaders = (attrs, id, scoped) => {
3030

3131
if (attrs.lang === 'scss') loader += '!sass-loader';
3232
if (attrs.lang === 'sass') loader += '!sass-loader';
33-
if (attrs.lang === 'styl') loader += '!stylus-loader';
33+
if (attrs.lang === 'styl' || attrs.lang === 'stylus')
34+
loader += '!stylus-loader';
3435
if (attrs.lang === 'less') loader += '!less-loader';
3536

3637
return loader;

0 commit comments

Comments
 (0)