Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

magix-combine

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magix-combine

合并Magix View的html,js,css成一个js文件,并检测html,js,css中可能存在的问题

  • 3.11.28
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

magix-combine Version Number THX Team License download

npm install magix-combine

简介

按占位符规则把html、css文件打包进js文件。

功能

  1. 合并html,css,js成一个js文件。为什么不在打包上线时合并?
  2. css只在当前区块内生效。关于style的scope css模块
  3. 智能子模板离线数据提取及预处理
  4. CommonJS的写法,由工具加上相应的web loader
  5. 检测项目中样式:未使用的、重名的、不推荐的写法等问题。
  6. 检测项目中模板:使用未声明的选择器、未声明的变量、参数传递等问题
  7. 检测项目中js代码:从服务器获取的数据不确定,前端未做判断就使用引起的问题
  8. 编译、压缩html中的模板引擎语句

gulp使用示例

gulp使用示例

@占位符

@占位符说明

配置参数

配置参数

Keywords

FAQs

Package last updated on 28 Mar 2019

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