🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

fis-preprocessor-inline-deps

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-preprocessor-inline-deps

let html inline get the deps

latest
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

fis-preprocessor-inline-deps

扩展FIS的html inline能力

功能

使用FIS资源嵌入能力时,如果在HTML中嵌入一另一段HTML代码,将不仅仅嵌入HTML内容,还会为两段HTML片段间添加依赖关系,主要用于配合 autoload 插件使用,在嵌入一段HTML代码时,可以同时加载此片段的同名依赖资源,而无需在注释中显示声明。

用法

$ npm install -g fis-preprocessor-inline-deps
$ vi path/to/project/fis-conf.js
// file : path/to/project/fis-conf.js

// for fis 1.9+
fis.config.set('modules.preprocessor.html', 'components,inline-deps'); 

// for fis without fis-components
//fis.config.set('modules.preprocessor.html', 'inline-deps');

// set html file to a mod file
fis.config.get('roadmap.path').unshift({
    reg: '**.html',
    isMod: true 
});

Keywords

fis

FAQs

Package last updated on 09 Apr 2015

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