Yaroslav Kasperovich 5 лет назад
Родитель
Сommit
318f52c52e
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      index.js
  2. 1 1
      package.json

+ 1 - 1
index.js

@@ -26,7 +26,7 @@ module.exports = (API, projectOptions) => {
         );
     }
 
-    if (api.hasPlugin("babel")) {
+    if (API.hasPlugin("babel")) {
       coffeeRule
         .use("babel-loader")
         .loader(require.resolve("babel-loader"))

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "vue-cli-plugin-coffee",
-  "version": "0.5.3",
+  "version": "0.5.4",
   "description": "CoffeeScript2 support for your @vue/cli project",
   "main": "index.js",
   "repository": {