Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

concat 标签支持原生态写法 #18

Closed
venusdrogon opened this issue Jul 4, 2017 · 1 comment
Closed

concat 标签支持原生态写法 #18

venusdrogon opened this issue Jul 4, 2017 · 1 comment
Assignees
Milestone

Comments

@venusdrogon
Copy link
Collaborator

venusdrogon commented Jul 4, 2017

concat 标签支持原生态写法

为了应对 生产环境 静态资源很难rollback的问题,

产品组使用了 maven 插件

<!-- maven gulp插件 -->
<plugin>
	<groupId>com.github.eirslett</groupId>
	<artifactId>frontend-maven-plugin</artifactId>
	<version>1.4</version>
	<executions>
		<execution>
			<id>install-node</id>
			<goals>
				<goal>install-node-and-npm</goal>
			</goals>
		</execution>
		<execution>
			<id>npm install</id>
			<goals>
				<goal>npm</goal>
			</goals>
		</execution>
	</executions>
	<!-- For reasons unknown, configuration for all executions must be placed 
		at the plugin level!!! -->
	<configuration>
		<nodeVersion>v7.2.1</nodeVersion>
		<npmVersion>3.10.10</npmVersion>
		<environmentVariables>
			<TAG>${tag}</TAG>
		</environmentVariables>
	</configuration>
</plugin>

来替换 jsp 里面 图片和 js css 的版本

而目前的 concat 标签里面是 js 片段,插件不支持

@venusdrogon venusdrogon self-assigned this Jul 4, 2017
@venusdrogon venusdrogon added this to the 1.10.4 milestone Jul 4, 2017
@venusdrogon venusdrogon modified the milestone: 1.10.4 Jul 5, 2017
@venusdrogon
Copy link
Collaborator Author

单独 新增

ItemSrcListResolver

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant