New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@autobest-ui/replace-loader

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autobest-ui/replace-loader

replace-loader for webpack loader

latest
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

@autobest-ui/replace-loader 文档

介绍

用于webpack下, ts/js/tsx内容替换

安装

npm install @autobest-ui/replace-loader --save-dev

使用方式

{
  test: /\.(js|ts|tsx)$/,
  loader: '@autobest-ui/replace-loader',
  options: {
    list: [
      {
        // 匹配
        pattern: '@autobest-ui/auto-parts-prime/lib',
        // 替换
        target: '@autobest-ui/auto-parts-prime/src',
        // RegExp 第二个参数
        modifiers: 'g'
      }
    ]
  }
}

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts