Commit 2165a54
Albin Kerouanton
Fix inability to use scss loader with Vue.js
Prior to this fix when the less loader isn't enabled, the scss loader config is rewritten by mistake, leading to this
error:
> Module build failed: Error: Cannot process lang="less" inside src/js/Player.vue: the less-loader is not activated.
I also fix a functional test case for Vue.js. Actually, the tests check if the first error thrown by webpack is about
missing less loader. But the fixtures needs these loaders in the following order: scss, sass and finally less.
Since there's no other loader than the VueJs one loaded in this test case, errors should be in the same order.1 parent efbec0d commit 2165a54
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
730 | 732 | | |
731 | 733 | | |
732 | 734 | | |
| |||
0 commit comments