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

grunt-combohtml

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-combohtml

The best Grunt plugin ever.

  • 0.1.2
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-flexcombo

flex-combo插件的grunt版本.

Getting Started

依赖 Grunt 版本~0.4.1

安装

npm install grunt-flexcombo --save-dev

安装后,在Gruntfile.js中载入任务

grunt.loadNpmTasks('grunt-flexcombo');

"flexcombo" 任务配置

步骤

grunt.initConfig()中添加flexcombo的配置:

grunt.initConfig({
	flexcombo:{
		options: {
			target:'src',
			urls:'/group/project',
			port:'80',
			servlet:'?',
			separator:',',
			charset:'utf8'
		},
		main:{}
	}
});

你的host指向开发机,访问http://host/group/projecct,浏览你的页面和assets文件

将cdn配向开发机

127.0.0.1 g.tbcdn.cn

可以访问你的页面和asset文件

http://g.tbcdn.cn/group/project

更多配置请参照flex-combo

说明

该服务添加了jayli-server,支持标准格式的 SSI include

<!--#include path="asdf.html" -->

使用

建议同generator-clam一同使用,构建工具生成本地配置文件,形如:

flexcombo:{
	options: {
		target:'src',
		urls:'/<%= pkg.group %>/<%= pkg.name %>',
		port:'<%= port %>',
		servlet:'?',
		separator:',',
		charset:'utf8'
	},
	main:{}
}

执行任务

task.run(['flexcombo']);

Keywords

FAQs

Package last updated on 10 Aug 2013

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