1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 19:21:18 -04:00

use url-parse for more reliable slug calculation

This commit is contained in:
2021-07-31 15:49:32 -04:00
parent b273bdbf99
commit 5b44ffd93c
5 changed files with 42 additions and 21 deletions

View File

@@ -45,10 +45,8 @@ export default {
filename: isProd ? "css/[name]-[contenthash:6].css" : "css/[name].css",
}),
new webpack.BannerPlugin({
banner: `Released under the MIT License. Copyright (c) 2017-${new Date().getFullYear()} Jake Jarvis.
Website: https://jarv.is/
GitHub: https://github.com/jakejarvis/jarv.is`,
banner: `@license MIT <https://opensource.org/licenses/MIT>
@copyright (c) 2017-${new Date().getFullYear()} Jake Jarvis <https://jarv.is/>`,
}),
new CopyPlugin({
patterns: [