Эх сурвалжийг харах

Update README.md to include cache-loader

Yaroslav Kasperovich 5 жил өмнө
parent
commit
2b010aaaa0
2 өөрчлөгдсөн 4 нэмэгдсэн , 5 устгасан
  1. 3 4
      README.md
  2. 1 1
      package.json

+ 3 - 4
README.md

@@ -2,6 +2,9 @@
 
 CoffeeScript2 support for the projects created with [@vue/cli](https://github.com/vuejs/vue-cli).
 
+With built-in:
+* `cache-loader`
+
 ## Installation
 
 According to [this](https://cli.vuejs.org/guide/plugins-and-presets.html#installing-plugins-in-an-existing-project) you are able to install community plugins as follows:
@@ -26,10 +29,6 @@ module.exports = {
 
 ```
 
-## -coffeescript
-
-I found [this](https://github.com/thisredone/vue-cli-plugin-coffeescript) package but apparently it does some `main.coffee` searching and replacement. While it is not bad by any means, it seems to me like a custom behavior. Want to keep things as clean as possible :sparkles:
-
 ## Troubleshooting
 
 Note that vue-loader uses `lang="coffee"` to identify components which are using Coffeescript, but `lang="coffee"` is not recognizable for ESLint. Fortunately, ESLint (following traditional HTML) uses `type="xxx"` to identify the type of scripts. As long as a `<script>` tag has any type other than javascript, ESLint would mark the script as non-javascript, and skips linting it. Coffeescript’s convention is to use `type="text/coffeescript"` to identify itself. Therefore, in your Vue components which are using Coffeescript, using both `lang` and `type` to avoid ESLint warnings. 

+ 1 - 1
package.json

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