1.0.4 • Published 2 years ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago