Fix popper package installation

Co-authored-by: Steve Putman <steve.putman@gmail.com>
This commit is contained in:
Andrew Chen Wang 2021-07-27 19:39:15 -04:00 committed by GitHub
parent cc28195e38
commit 5f70a802a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ function pathsConfig(appName) {
{%- if cookiecutter.custom_bootstrap_compilation == 'y' %}
bootstrapSass: `${vendorsRoot}/bootstrap/scss`,
vendorsJs: [
`${vendorsRoot}/popper.js/dist/umd/popper.js`,
`${vendorsRoot}/@popperjs/core/dist/umd/popper.js`,
`${vendorsRoot}/bootstrap/dist/js/bootstrap.js`,
],
{%- endif %}

View File

@ -7,7 +7,7 @@
{% if cookiecutter.custom_bootstrap_compilation == 'y' -%}
"bootstrap": "5.0.2",
"gulp-concat": "^2.6.1",
"popper.js": "2.9.2",
"@popperjs/core": "2.9.2",
{% endif -%}
"autoprefixer": "^9.4.7",
"browser-sync": "^2.14.0",