Skip to content

Commit

Permalink
Remove bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
pbock committed Dec 16, 2023
1 parent 582f0f6 commit 1fe9503
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ app.use(i18n.init);
app.set('views', path.resolve(__dirname, 'views/'));
app.set('view engine', 'pug');

app.use(
'/vendor/bootstrap',
express.static(path.resolve(__dirname, 'node_modules/bootstrap/dist/')) as any
);
app.use('/static', express.static(path.resolve(__dirname, 'static/')) as any);

app.locals.moment = moment;
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"dependencies": {
"archiver": "^6.0.1",
"basic-auth": "^2.0.1",
"bootstrap": "5.3.2",
"bunyan": "^1.8.15",
"chokidar": "^3.5.3",
"cookie-parser": "^1.4.6",
Expand Down
1 change: 0 additions & 1 deletion views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ html(lang=__('LOCALE'))
head
block title
title= __('SITE_NAME')
link(href='/vendor/bootstrap/css/bootstrap.min.css', rel='stylesheet')
link(href='/static/custom.css', rel='stylesheet')
meta(name='viewport', content='width=device-width, initial-scale=1')
meta(charset='utf-8')
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1094,11 +1094,6 @@ boolean@^3.1.4:
resolved "https://registry.yarnpkg.com/boolean/-/boolean-3.2.0.tgz#9e5294af4e98314494cbb17979fa54ca159f116b"
integrity sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==

[email protected]:
version "5.3.2"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.3.2.tgz#97226583f27aae93b2b28ab23f4c114757ff16ae"
integrity sha512-D32nmNWiQHo94BKHLmOrdjlL05q1c8oxbtBphQFb9Z5to6eGRDCm0QgeaZ4zFBHzfg2++rqa2JkqCcxDy0sH0g==

brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
Expand Down

0 comments on commit 1fe9503

Please sign in to comment.