# webpack-dynamic-import-weapp-plugin

> Webpack 动态加载小程序代码插件

Latest version **0.2.0** (published 2021-11-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-dynamic-import-weapp-plugin
pnpm add webpack-dynamic-import-weapp-plugin
yarn add webpack-dynamic-import-weapp-plugin
bun add webpack-dynamic-import-weapp-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2021-11-22 |
| First published | 2021-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51 |
| Author | Jiyu Shao |
| Maintainers | jiyu.shao |
| Keywords | webpack plugin, weapp, dynamic-import |

## Links

- npm: https://www.npmjs.com/package/webpack-dynamic-import-weapp-plugin
- Repository: https://github.com/JiyuShao/taro-dynamic-import-weapp
- Homepage: https://github.com/JiyuShao/taro-dynamic-import-weapp#readme
- Issues: https://github.com/JiyuShao/taro-dynamic-import-weapp/issues
- npm.io page: https://npm.io/package/webpack-dynamic-import-weapp-plugin

## Dependencies (1)

- [strip-indent](https://npm.io/package/strip-indent.md) ^3.0.0

## 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

- 0.2.0 (latest) — 2021-11-22
- 0.2.0-rc.0 — 2021-11-22
- 0.1.0 — 2021-03-11
- 0.1.0-alpha.2 — 2021-02-05
- 0.1.0-alpha.1 — 2021-02-04
- 0.1.0-alpha.0 — 2021-01-30

## README

# webpack-dynamic-import-weapp-plugin

> 使用 `eval5` 和 `wx.request`, 覆盖 webpack 原有的 `jsonpScript` 方法, 实现小程序中动态加载功能

本项目主要配合 [taro-plugin-dynamic-import-weapp](../taro-plugin-dynamic-import-weapp/README.md) 使用

本项目的测试 `helper` 文件, 参考了 [webpack-contrib/css-loader](https://github.com/webpack-contrib/css-loader/tree/master/test/helpers) 的代码

## Reference

[webpack-contrib/css-loader](https://github.com/webpack-contrib/css-loader/tree/master/test/helpers)

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