# zepto-webpack

> zepto webpack version

Latest version **1.2.1** (published 2017-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install zepto-webpack
pnpm add zepto-webpack
yarn add zepto-webpack
bun add zepto-webpack
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2017-03-12 |
| First published | 2016-05-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | victorisildur |
| Maintainers | victorisildur |
| Keywords | zepto, webpack |

## Links

- npm: https://www.npmjs.com/package/zepto-webpack
- Repository: https://github.com/victorisildur/zepto-webpack
- Homepage: https://github.com/victorisildur/zepto-webpack#readme
- Issues: https://github.com/victorisildur/zepto-webpack/issues
- npm.io page: https://npm.io/package/zepto-webpack

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2017-03-12
- 1.2.0 — 2017-01-03
- 1.1.7 — 2016-08-11
- 1.1.6 — 2016-05-23
- 1.0.1 — 2016-05-23
- 1.0.0 — 2016-05-23

## README

# zepto
> Since webpack ProvicePlugin can only be used when $ is directly derived from a module,
current modules can't be used conviently in webpack since their exports.$ is what we got.

Current version of Zepto: ```1.2.0```

Version of this repo: ```1.2.0```

Official releases: [github.com/madrobby/zepto/releases](https://github.com/madrobby/zepto/releases)

# Install

```npm install zepto-webpack```

# Usage

```javascript
plugins: [
    new webpack.ProvidePlugin({
        $: 'zepto-webpack'
    })
]
```

# Changes from Zepto

at line 887 I add:

```javascript
module.exports = window.Zepto;
```

solve ajax issue in [issue921](https://github.com/madrobby/zepto/issues/921)

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