@longzai-intelligence-taro/taro-loader-resolve-plugin weekly downloads statistics
By longzai-intelligence-taro · npm · Webpack plugins
Taro 构建解析插件 - 修复 `@tarojs/taro-loader` 裸名 loader 在 globalStore 布局下的模块解析
@longzai-intelligence-taro/taro-loader-resolve-plugin has 18 recorded weekly downloads on npm, a change of -97.9% over the past 7 days, ranking #1985 of 2,391 tracked listings.
About @longzai-intelligence-taro/taro-loader-resolve-plugin
@longzai-intelligence-taro/taro-loader-resolve-plugin
Taro 构建解析插件。修复 @tarojs/taro-loader 裸名 loader 在产品群 globalStore 布局下的模块解析断裂。
背景
taro @tarojs/webpack5-runner 的 MiniPlugin 与 BuildNativePlugin 在编译期向 module.loaders 直接注入裸名字符串 @tarojs/taro-loader,webpack 不再解析这些后注入项,loader-runner 以原生 require 解析。globalStore 使包物理位置脱离仓库后,原生 require 向上查找永远到不了消费应用的 node_modules,构建报 Cannot find module '@tarojs/taro-loader'。
用法
在 taro 项目的 config/index.ts 的 plugins 数组以包名注册:
export default defineConfig({
plugins: ['@longzai-intelligence-taro/taro-loader-resolve-plugin'],
});
插件在 modifyWebpackChain 钩子中以 ctx.appPath 为解析基准装载 webpack 插件,把裸名 loader 项替换为绝对路径,options 原样保留,watch 模式重复构建安全。
治理边界
依据仓内 ADR 0001,本插件是 taro 构建解析治理的唯一通道,明确禁止 linker = "hoisted"、NODE_PATH 与 scripts 临时包装脚本三类替代做法。
Description from the npm listing.
- longzai-intelligence
- taro
- taro-plugin
- taroutils
- webpack-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (122)Similar npm Webpack plugins plugins
All 20 @longzai-intelligence-taro/taro-loader-resolve-plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@longzai-intelligence-taro/taro-loader-resolve-plugin. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.