Skip to content

Commit 467c217

Browse files
authored
readding bootstrap js (#1302)
1 parent 4944d75 commit 467c217

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

esbuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
const text = await esbuild.analyzeMetafile(result.metafile)
2828
console.log(text);
2929
}
30-
})().catch(() => process.exit(1));
30+
})().catch((e) => console.error(e) || process.exit(1));

js/app.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import Plausible from 'plausible-tracker'
2-
import jQuery from "jquery";
2+
import './jquery';
33
import notifier from './notifier';
44
import './search';
55
import './view';
66
import './submitPackage';
77
import '../css/app.scss';
8-
9-
window.jQuery = window.$ = jQuery;
8+
import 'bootstrap';
109

1110
(function ($) {
1211
"use strict";

js/jquery.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import jQuery from 'jquery';
2+
window.jQuery = window.$ = jQuery;

0 commit comments

Comments
 (0)