1.2.3 • Published 2 years ago

unplugin-vue-remove-attribute v1.2.3

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

unplugin-vue-remove-attribute

Powered by unplugin.

Installation

npm i -D unplugin-vue-remove-attribute
// vite.config.ts
import RemoveAttributes from 'unplugin-vue-remove-attribute/vite'

export default defineConfig({
  plugins: [
    RemoveAttributes({ /* options */ })
  ]
})
// rollup.config.js
import RemoveAttributes from 'unplugin-vue-remove-attribute/rollup'

export default {
  plugins: [
    RemoveAttributes({ /* options */ })
  ]
}

Usage

This plugin removes matching attributes in vue components, so testing attributes like data-test-... are removed in production build.

Thanks

Thanks to @antfu, this project is heavily inspired by unplugin-vue-components.

License

MIT License © 2022-PRESENT Marek Vospěl

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago