Use webpack to deliver underscore (and use newest version)

This commit is contained in:
Sebastian Serth
2018-10-08 13:40:52 +02:00
parent 53e7739e05
commit 8faacd5577
6 changed files with 12 additions and 9 deletions

View File

@@ -23,5 +23,4 @@
//= require ace/ace
//= require ace/ext-language_tools
//= require jquery-ui.min
//= require underscore.min
//= require_tree .

View File

@@ -12,6 +12,8 @@ import 'jquery'
import 'bootstrap/dist/js/bootstrap.bundle.min';
import 'chosen-js/chosen.jquery';
import 'jstree';
import 'underscore';
window._ = _; // Publish underscore's `_` in global namespace
// CSS
import 'chosen-js/chosen.css';