Skip to content
Snippets Groups Projects
Commit 40769dee authored by naitsirch's avatar naitsirch
Browse files

Defining jquery-ui as dependency instead of jquery.ui

In the AMD definition the 'jquery.ui' dependency is invalid. Building a project with webpack results in this error:

> ERROR  Failed to compile with 1 errors
>
> This dependency was not found:
>
> * jquery.ui in ./node_modules/@rwap/jquery-ui-touch-punch/jquery.ui.touch-punch.js

Using 'jquery-ui' fixes that.
parent 3f43506f
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([ "jquery", "jquery.ui" ], factory );
define([ "jquery", "jquery-ui" ], factory );
} else {
// Browser globals
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment