Skip to content

Commit

Permalink
Embed Popper.js 2 into Bootstrap plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed May 24, 2023
1 parent b924c5c commit 76fd031
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@
<exclude>*.bundle.*</exclude>
</excludes>
</resource>
<resource>
<directory>${project.basedir}/node_modules/@popperjs/core/dist/umd</directory>
<filtering>false</filtering>
<includes>
<include>popper.js</include>
<include>popper.min.js</include>
<include>popper.min.js.flow</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/io/jenkins/plugins/bootstrap5.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Use it like <st:adjunct includes="io.jenkins.plugins.bootstrap5"/>
<link type="text/css" rel="stylesheet" href="${resURL}/plugin/bootstrap5-api/css/bootstrap-custom-build.css"/>
<link type="text/css" rel="stylesheet" href="${resURL}/plugin/bootstrap5-api/css/jenkins-style.css"/>

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

Expand Down

0 comments on commit 76fd031

Please sign in to comment.