Skip to content

Commit 76fd031

Browse files
committed
Embed Popper.js 2 into Bootstrap plugin.
1 parent b924c5c commit 76fd031

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,15 @@
107107
<exclude>*.bundle.*</exclude>
108108
</excludes>
109109
</resource>
110+
<resource>
111+
<directory>${project.basedir}/node_modules/@popperjs/core/dist/umd</directory>
112+
<filtering>false</filtering>
113+
<includes>
114+
<include>popper.js</include>
115+
<include>popper.min.js</include>
116+
<include>popper.min.js.flow</include>
117+
</includes>
118+
</resource>
110119
</resources>
111120
</configuration>
112121
</execution>

src/main/resources/io/jenkins/plugins/bootstrap5.jelly

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Use it like <st:adjunct includes="io.jenkins.plugins.bootstrap5"/>
1212
<link type="text/css" rel="stylesheet" href="${resURL}/plugin/bootstrap5-api/css/bootstrap-custom-build.css"/>
1313
<link type="text/css" rel="stylesheet" href="${resURL}/plugin/bootstrap5-api/css/jenkins-style.css"/>
1414

15+
<script type="text/javascript" src="${resURL}/plugin/bootstrap5-api/js/popper.min.js"/>
1516
<script type="text/javascript" src="${resURL}/plugin/bootstrap5-api/js/bootstrap.min.js"/>
1617
<script type="text/javascript" src="${resURL}/plugin/bootstrap5-api/js/no-prototype.js"/>
1718

0 commit comments

Comments
 (0)