File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,10 @@ import "jquery";
1616import "bootstrap" ;
1717import "./modules" ;
1818
19+ // Load fonts
20+ import "bootstrap-icons/font/fonts/bootstrap-icons.woff"
21+ import "bootstrap-icons/font/fonts/bootstrap-icons.woff2"
22+
23+ // Load styles
1924import "../stylesheets/app.scss"
2025import "../stylesheets/presentations.scss"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import "whatwg-fetch";
44import FetchUtil from "../utils/fetchUtil" ;
55import Exception from "../exceptions/exception" ;
66import FetchException from "../exceptions/fetchException" ;
7- import sweetAlert from "../../../node_modules/ bootstrap-sweetalert/dev/sweetalert.es6.js" ; // eslint-disable-line max-len
7+ import sweetAlert from "bootstrap-sweetalert/dev/sweetalert.es6.js" ;
88
99export default class DatePicker {
1010 constructor ( input ) {
Original file line number Diff line number Diff line change 22import "whatwg-fetch" ;
33import Exception from "../exceptions/exception" ;
44import FetchException from "../exceptions/fetchException" ;
5- import sweetAlert from "../../../node_modules/ bootstrap-sweetalert/dev/sweetalert.es6.js" ; // eslint-disable-line max-len
5+ import sweetAlert from "bootstrap-sweetalert/dev/sweetalert.es6.js" ;
66
77export default class FetchUtil {
88 static checkStatus ( response ) {
Original file line number Diff line number Diff line change 33@use ' dataTables.bootstrap.css' ;
44@use ' bootstrap-material-datetimepicker.css' ;
55
6- // $bootstrap-icons-font-dir: "bootstrap-icons/font/ fonts";
6+ $bootstrap-icons-font-dir : " ../ fonts/ " ;
77@import " bootstrap-icons/font/bootstrap-icons" ;
88
99// External
Original file line number Diff line number Diff line change @@ -85,6 +85,13 @@ var webpackConfig = {
8585 ] ,
8686 }
8787 }
88+ } ,
89+ {
90+ test : / \. ( w o f f | w o f f 2 | e o t | t t f | o t f ) $ / i,
91+ type : "asset/resource" ,
92+ generator : {
93+ filename : "fonts/[name][ext]" ,
94+ } ,
8895 }
8996 ]
9097 } ,
You can’t perform that action at this time.
0 commit comments