]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - Gruntfile.js
remove autocomplete and bring fonts through npm
[github/wallabag/wallabag.git] / Gruntfile.js
index 9277408110f28daac3fe6dfc3759eb1429f2ad85..bf488ff997dcec19a2df9209da425cb5a57fd588 100644 (file)
@@ -67,12 +67,22 @@ module.exports = function (grunt) {
         transform: [
           ["babelify", {
           presets: ["es2015"]
-        }], "browserify-shim"
+        }], ["browserify-shim", {
+            "jquery": {
+              "exports": "$"
+            },
+            "materialize": "materialize",
+            "jquery-ui": {
+              "depends": "jquery",
+              "exports": null
+            }
+          }]
         ],
         browserifyOptions: {
           browser: {
             "jQuery": "./node_modules/jquery/dist/jquery.js",
-            "jquery.tinydot": "./nodes_modules/jquery.tinydot/src/jquery.tinydot.js"
+            "jquery.tinydot": "./node_modules/jquery.tinydot/src/jquery.tinydot.js",
+            "jquery.ui": "./node_modules/jquery-ui-browserify/dist/jquery-ui.js"
           }
         }
       }