spacing for header in scripts render

This commit is contained in:
David Miller 2021-03-30 19:03:24 -04:00
parent 430b843259
commit 5268b3dcc9
2 changed files with 10 additions and 10 deletions

10
dist/js/scripts.js vendored
View File

@ -1,9 +1,9 @@
/*! /*!
* Start Bootstrap - Agency v6.0.4 (https://startbootstrap.com/theme/agency) * Start Bootstrap - Agency v6.0.4 (https://startbootstrap.com/theme/agency)
* Copyright 2013-2021 Start Bootstrap * Copyright 2013-2021 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-agency/blob/master/LICENSE) * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-agency/blob/master/LICENSE)
*/ */
(function ($) { (function ($) {
"use strict"; // Start of use strict "use strict"; // Start of use strict
// Smooth scrolling using anime.js // Smooth scrolling using anime.js

View File

@ -15,11 +15,11 @@ module.exports = function renderScripts() {
const destPathScriptsJS = upath.resolve(upath.dirname(__filename), '../dist/js/scripts.js'); const destPathScriptsJS = upath.resolve(upath.dirname(__filename), '../dist/js/scripts.js');
const copyright = `/*! const copyright = `/*!
* Start Bootstrap - ${packageJSON.title} v${packageJSON.version} (${packageJSON.homepage}) * Start Bootstrap - ${packageJSON.title} v${packageJSON.version} (${packageJSON.homepage})
* Copyright 2013-${new Date().getFullYear()} ${packageJSON.author} * Copyright 2013-${new Date().getFullYear()} ${packageJSON.author}
* Licensed under ${packageJSON.license} (https://github.com/StartBootstrap/${packageJSON.name}/blob/master/LICENSE) * Licensed under ${packageJSON.license} (https://github.com/StartBootstrap/${packageJSON.name}/blob/master/LICENSE)
*/ */
` `
const scriptsJS = fs.readFileSync(sourcePathScriptsJS); const scriptsJS = fs.readFileSync(sourcePathScriptsJS);
fs.writeFileSync(destPathScriptsJS, copyright + scriptsJS); fs.writeFileSync(destPathScriptsJS, copyright + scriptsJS);