1
0
Prechádzať zdrojové kódy

app.build.js does not need explicit paths mapping...

... for jquery[-ui], provided it uses newest amber-cli,
which uses amber-dev ~0.2.0, which find which of the files
actually exists in amber config and use that one directly in config.js.
Herbert Vojčík 10 rokov pred
rodič
commit
10590f98f5
1 zmenil súbory, kde vykonal 0 pridanie a 9 odobranie
  1. 0 9
      root/app.build.js

+ 0 - 9
root/app.build.js

@@ -1,14 +1,5 @@
 ({
     mainConfigFile: "config.js",
-    paths: {
-        // paths for jquery-ui and jquery must be set manually
-        // because r.js is unable to process array path mapping
-        // how to finally solve this is open issue
-        // if these do not match your config, try the alternative one
-        // find the alternatives inside your config.js paths: section
-        "jquery-ui": "bower_components/jquery-ui/jquery-ui.min",
-        "jquery": "bower_components/jquery/jquery.min"
-    },
     include: ['{%= namespace %}/{%= name %}', 'amber/deploy', 'amber/requirejs/require.min'],
     out: "all-in-1.js"
 })