Skip to content

Commit

Permalink
Use Webpack to bundle vendor assets (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Oct 30, 2023
1 parent 80adfe0 commit 53c4f98
Show file tree
Hide file tree
Showing 15 changed files with 2,997 additions and 29,150 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AIPscan/Aggregator/__pycache__/
AIPscan/Reporter/__pycache__/
AIPscan/API/__pycache__/
AIPscan/__init__.pyc
node_modules
config.pyc
aipscan.db
celerytasks.db
Expand Down
9 changes: 9 additions & 0 deletions AIPscan/static/js/base.entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "/node_modules/bootstrap/dist/css/bootstrap.css"
import "/node_modules/@fortawesome/fontawesome-free/css/all.css"
import "/node_modules/jquery-ui/dist/themes/trontastic/jquery-ui.css"

var jquery = require('/node_modules/jquery');
var bootstrap = require('/node_modules/bootstrap');
require('/node_modules/jquery-ui');

require('./tasks.js');
6 changes: 0 additions & 6 deletions AIPscan/static/js/bootstrap.min.js

This file was deleted.

11 changes: 0 additions & 11 deletions AIPscan/static/js/dataTables.bootstrap4.min.js

This file was deleted.

43 changes: 0 additions & 43 deletions AIPscan/static/js/dataTables.buttons.min.js

This file was deleted.

7 changes: 7 additions & 0 deletions AIPscan/static/js/datatables.entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import "/node_modules/datatables.net-buttons-bs/css/buttons.bootstrap.min.css"
import "/node_modules/datatables.net-bs4/css/dataTables.bootstrap4.min.css"
import "/AIPscan/static/css/custom.css"

require('/node_modules/datatables.net');
require('/node_modules/datatables.net-bs4');
require('/node_modules/datatables.net-buttons');
Loading

0 comments on commit 53c4f98

Please sign in to comment.