multiplegeorges / vue-cli-plugin-s3-deploy

A vue-cli plugin that uploads your built Vue.js project to an S3 bucket
MIT License
331 stars 51 forks source link

[Doc] Update doc based on configuration.js #122

Closed Roriz closed 4 years ago

nicekiwi commented 4 years ago

Thanks for the suggestion, but RC4 and 5 area a major refactor and all of this is changing. Right now I thinking:

cachePerFile = [
  { pattern: [ '*.js' ], cache: 'max84000' }
]
Roriz commented 4 years ago

Your suggestion is per file or per pattern? I think the current pattern with object is clear and obviously.

Roriz commented 4 years ago

Has any estimate for this feature come to release? I really need that

nicekiwi commented 4 years ago

The Cache pattern needs to be an array is the issue. The pattern can include any number of files matched, by name or extension or anything else micromatch can match. When? Soon I hope. I've removed a number of features from earlier RC releases so the lib should be a lot easier to maintain and test (hopefully).

nicekiwi commented 4 years ago

I'd rather explicitly name object properties than mess around with key names as values, espessially when dealing with TypeScript.