Socket
Socket
Sign inDemoInstall

magix-combine-ex

Package Overview
Dependencies
194
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    magix-combine-ex

合并Magix View的html,js,css成一个js文件


Version published
Weekly downloads
3
increased by200%
Maintainers
2
Install size
29.1 MB
Created
Weekly downloads
 

Readme

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

Last updated on 18 Jul 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc