Merge pull request #343 from thornbill/webpack
Bundle npm dependencies using webpack
This commit is contained in:
+4
-1
@@ -818,12 +818,15 @@ var AppInfo = {};
|
||||
text: "components/require/requiretext"
|
||||
}
|
||||
},
|
||||
bundles: {
|
||||
bundle: ["jstree"]
|
||||
},
|
||||
urlArgs: urlArgs,
|
||||
paths: paths,
|
||||
onError: onRequireJsError
|
||||
});
|
||||
requirejs.onError = onRequireJsError;
|
||||
define("jstree", ["thirdparty/jstree/jstree", "css!thirdparty/jstree/themes/default/style.css"], returnFirstDependency);
|
||||
|
||||
define("dashboardcss", ["css!css/dashboard"], returnFirstDependency);
|
||||
define("slideshow", [componentsPath + "/slideshow/slideshow"], returnFirstDependency);
|
||||
define("fetch", [bowerPath + "/fetch/fetch"], returnFirstDependency);
|
||||
|
||||
Reference in New Issue
Block a user