1.0.4 • Published 3 years ago

vite-plugin-static-asset-fixer v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Vite Static Asset Fixer

Vite plugin to transform asset paths when developing locally.

Usage

vite.config.js

import staticAssetFixer from 'vite-plugin-static-asset-fixer'

export default {
  // ...
  plugins: [
    staticAssetFixer({
      /* options */
    })
  ],
}

Options

dir

Type: String Default: assets

Local static asset directory


host

Type: String Default: localhost

The host name of your local dev environment.


https

Type: Boolean Default: true

The protocol of your local dev environment.


port

Type: Number Default: 3000

The port number of your local dev environment.


License

MIT

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago