Socket
Book a DemoInstallSign in
Socket

pde-pags

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pde-pags

分包测试1

2.1.1
latest
npmnpm
Version published
Weekly downloads
38
-13.64%
Maintainers
1
Weekly downloads
 
Created
Source

编译

只编译page1(Linux/macOS)

CROSS_ENV=TARGET_PAGE=page1 webpack

Windows需使用cross-env

npx cross-env TARGET_PAGE=page1 webpack 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

安装依赖(首次运行前)

npm install cross-env --save-dev

单个发布 page1

npx cross-env TARGET_PAGE=page1 node publish.js

批量发布

npx cross-env BATCH_MODE=true node publish.js

#测试结果: 1elementui 2vuex(store) 3多语言包 不用抽到包里 #存在的未知 待解决(验证的 )和需要研究方案的: #1公共包抽取 进一步压缩包大小 2多个项目比如 门户 档案系统继承那种方式更合理? #3组件化打包后 项目而开如何更方便 (需要模块化 提供勾子让外面的局部页面 方法可以覆盖)? #4后续组件化提供api文档? #5规范化 #6后续开发第三方插件 带来的依赖版本兼容问题

FAQs

Package last updated on 21 Aug 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.