# auto-track-webpack-plugin

> A webpack plugin that is automatically buried for the Vue2 project

Latest version **1.0.0** (published 2023-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install auto-track-webpack-plugin
pnpm add auto-track-webpack-plugin
yarn add auto-track-webpack-plugin
bun add auto-track-webpack-plugin
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-10-30 |
| First published | 2023-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 19.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | lbc |
| Maintainers | lbccccc |
| Keywords | webpack, plugin, hooks, module, file, source, modify, babel, loader, compilation, babel |

## Links

- npm: https://www.npmjs.com/package/auto-track-webpack-plugin
- Repository: https://github.com/lbczblll/auto-track-webpack-plugin
- Homepage: https://github.com/lbczblll/auto-track-webpack-plugin#readme
- Issues: https://github.com/lbczblll/auto-track-webpack-plugin/issues
- npm.io page: https://npm.io/package/auto-track-webpack-plugin

## Dependencies (7)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.23.2
- [@babel/types](https://npm.io/package/@babel/types.md) ^7.23.0
- [schema-utils](https://npm.io/package/schema-utils.md) ^4.2.0
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.23.0
- [@babel/template](https://npm.io/package/@babel/template.md) ^7.22.15
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.23.2
- [@babel/generator](https://npm.io/package/@babel/generator.md) ^7.23.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2023-10-30

## README

# auto-track-webpack-plugin
For automatic buried points based on the button permissions, only supports Vue2.

## Installation

### NPM

```
npm i -D auto-track-webpack-plugin
```


## Import

### ES6/TypeScript

```js
import { AutoTrackPlugin } from 'auto-track-webpack-plugin';
```

### CJS

```js
const { AutoTrackPlugin } = require('auto-track-webpack-plugin');
```

## Usage

**vue.config.js**

```js
module.exports = defineConfig({
  configureWebpack: {
    plugins: [new AutoTrackPlugin({ buriedPoint: 'this.$common.buriedFun' })]
  }
})
```

## Options

### `buriedPoint`
The buried point function will insert the inside of the click event based on the button permissions.

---
_Source: https://npm.io/package/auto-track-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
