Yaroslav Kasperovich 5 жил өмнө
parent
commit
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": {