diff --git a/dist/js/scripts.js b/dist/js/scripts.js index e73cfb0..64db5e3 100644 --- a/dist/js/scripts.js +++ b/dist/js/scripts.js @@ -1,9 +1,9 @@ /*! - * Start Bootstrap - Agency v6.0.4 (https://startbootstrap.com/theme/agency) - * Copyright 2013-2021 Start Bootstrap - * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-agency/blob/master/LICENSE) - */ - (function ($) { +* Start Bootstrap - Agency v6.0.4 (https://startbootstrap.com/theme/agency) +* Copyright 2013-2021 Start Bootstrap +* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-agency/blob/master/LICENSE) +*/ +(function ($) { "use strict"; // Start of use strict // Smooth scrolling using anime.js diff --git a/scripts/render-scripts.js b/scripts/render-scripts.js index 245ebac..0aedb98 100644 --- a/scripts/render-scripts.js +++ b/scripts/render-scripts.js @@ -15,11 +15,11 @@ module.exports = function renderScripts() { const destPathScriptsJS = upath.resolve(upath.dirname(__filename), '../dist/js/scripts.js'); const copyright = `/*! - * Start Bootstrap - ${packageJSON.title} v${packageJSON.version} (${packageJSON.homepage}) - * Copyright 2013-${new Date().getFullYear()} ${packageJSON.author} - * Licensed under ${packageJSON.license} (https://github.com/StartBootstrap/${packageJSON.name}/blob/master/LICENSE) - */ - ` +* Start Bootstrap - ${packageJSON.title} v${packageJSON.version} (${packageJSON.homepage}) +* Copyright 2013-${new Date().getFullYear()} ${packageJSON.author} +* Licensed under ${packageJSON.license} (https://github.com/StartBootstrap/${packageJSON.name}/blob/master/LICENSE) +*/ +` const scriptsJS = fs.readFileSync(sourcePathScriptsJS); fs.writeFileSync(destPathScriptsJS, copyright + scriptsJS);