Split modules into different entry points, separate vendor modules

This commit is contained in:
Tautvidas Sipavičius
2015-08-13 18:08:44 +03:00
parent d19c1bca60
commit a0a50407b9
10 changed files with 2017 additions and 1162 deletions

View File

@@ -1,10 +1,9 @@
define('admin', [
'./ajax',
'notice.js',
'modal.js',
'lib/handlebars.min.js',
'handlebars_helpers.js'
], function() {
'mailpoet',
'jquery',
'handlebars',
], function(MailPoet, jQuery, Handlebars) {
console.log('OVER HERE', MailPoet, jQuery, Handlebars);
jQuery(function($) {
// dom ready
$(function() {