Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

astros-cmd-define

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astros-cmd-define

Astros中间件

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Astros中间件

用户在书写时可使用CMD形式

该中间件的filter为:

{
    modType: 'page',
    fileType: 'js'
}

会在代码顶部增加define的实现函数实体。因此该中间件需要在所有的JS相关中间件之后执行(保证define的实现函数在最顶部)、JS压缩中间件之前。

FAQs

Package last updated on 22 Jun 2016

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