gulp-usemin-extend
Advanced tools
Comparing version 0.3.23 to 0.3.24
@@ -9,4 +9,4 @@ var fs = require('fs'); | ||
var startReg = /<!--\s*build:(\w+)(?:(?:\(([^\)]+?)\))?\s+(\/?([^\s]+?))?)?\s*-->/gim; | ||
var endReg = /<!--\s*endbuild\s*-->/gim; | ||
var startReg = options.startReg || /<!--\s*build:(\w+)(?:(?:\(([^\)]+?)\))?\s+(\/?([^\s]+?))?)?\s*-->/gim; | ||
var endReg = options.endReg || /<!--\s*endbuild\s*-->/gim; | ||
var jsReg = options.jsReg || /<\s*script\s+.*?src\s*=\s*['"]?([^'"?# ]+).*?><\s*\/\s*script\s*>/gi; | ||
@@ -13,0 +13,0 @@ var cssReg = options.cssReg || /<\s*link\s+.*?href\s*=\s*['"]?([^'"?# ]+).*?>/gi; |
{ | ||
"name": "gulp-usemin-extend", | ||
"version": "0.3.23", | ||
"version": "0.3.24", | ||
"description": "Replaces references to non-optimized scripts or stylesheets into a set of HTML files (or any templates/views).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -119,2 +119,12 @@ [![Build Status](https://travis-ci.org/zont/gulp-usemin.svg?branch=master)](https://travis-ci.org/zont/gulp-usemin) | ||
#### startReg | ||
Type: `Reg` | ||
(新增属性),用来匹配开始标志 | ||
#### endReg | ||
Type: `Reg` | ||
(新增属性),用来匹配结束标志 | ||
#### jsReg | ||
@@ -121,0 +131,0 @@ Type: `Reg` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53011
372