UNPKG

gridsome-plugin-htaccess

Version:

Generates a .htaccess file at build time according to your options and save it at the root of your dist folder.

30 lines (18 loc) 1.05 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Fixed - The following rules will now generate a valid `.htaccess` file - `disableServerSignature` (set to `true`) - `fileExpirations` - `preventScriptInjection` (set to `true`) - `notCachedFiles` ## [0.2.0] 2020-01-10 ### Added - New keywords will be quoted for you in the generated `Content-Security-Policy` header value of the `contentSecurityPolicy` option: - `unsafe-eval`, - `unsafe-hashes`, - `unsafe-inline`, - `strict-dynamic`, - `report-sample`. - New option, `fileExpirations`, to let you control how you file types should be cached by the browser (see the documentation for the description of the API). ## [0.1.0] 2020-01-05 ### Added - First working version (see the documentation to see all the available features).