New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@alicd/cone-build-scripts

Package Overview
Dependencies
Maintainers
11
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicd/cone-build-scripts

- ice2 将 webpack 以及相关的依赖封装到了 @builder/pack 里面, 来确保依赖的稳定性 - ice2 底层 hijack 了 require, 来确保 webpack 以及相关的依赖能指向 @builder/pack 里面 - 这样不论在哪里 require webpack/webpack-dev-server, 使用的都是 @builder/pack 的版本 - 所以在调用 start/build/test 之前, 需要确保 hijackWebpack ice2 被调用 -

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
11
Weekly downloads
 
Created
Source

背景

  • ice2 将 webpack 以及相关的依赖封装到了 @builder/pack 里面, 来确保依赖的稳定性
  • ice2 底层 hijack 了 require, 来确保 webpack 以及相关的依赖能指向 @builder/pack 里面
  • 这样不论在哪里 require webpack/webpack-dev-server, 使用的都是 @builder/pack 的版本
  • 所以在调用 start/build/test 之前, 需要确保 hijackWebpack ice2 被调用
    • require('ice.js/lib/require-hook').hijackWebpack()
  • 不然在不同代码里面引用到的 webpack 不是同一份, 会引起打包问题

FAQs

Package last updated on 28 Dec 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc