Socket
Socket
Sign inDemoInstall

@aplaline/vue-cli-plugin-disable-hashed-filenames

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aplaline/vue-cli-plugin-disable-hashed-filenames

It is often that we need to deploy the assets with predictible file names. That happens especially with environments like content management systems (Sitecore, AEM, Wordpress and the like).


Version published
Maintainers
1
Weekly downloads
64
decreased by-41.28%

Weekly downloads

Readme

Source

Vue CLI plugin for disabling hashing of filenames

It is often that we need to deploy the assets with predictible file names. That happens especially with environments like content management systems (Sitecore, AEM, Wordpress and the like).

By default Vue CLI makes use of hashes in filenames. And that is great since also the index.html is also adjusted to include the proper files and if you're deploying all the artifacts as-is this is definitelly the way to go. However, in the rare projects where artifacts need to be named predictably this plugin is here to help.

Configuration

There is one configuration option that allows you to turn the plugin on or off:

vue.config.js

module.exports = {
  pluginOptions: {
    disableHashedFilenames: true
  }
}

If you set disableHashedFilenames to false this plugin will be basically disabled and the default behavior will be in effect (that is filenames will include hashes).

Keywords

FAQs

Last updated on 27 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc