Advertisement
Guest User

Untitled

a guest
Mar 19th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. exports.config = {
  2.   files: {
  3.     javascripts: {
  4.       joinTo: "js/app.js"
  5.     },
  6.     stylesheets: {
  7.       joinTo: "css/app.css",
  8.       order: {
  9.         after: ["web/static/css/app.css"]
  10.       }
  11.     },
  12.     templates: {
  13.       joinTo: "js/app.js"
  14.     }
  15.   },
  16.  
  17.   conventions: {
  18.     assets: /^(web\/static\/assets)/
  19.   },
  20.  
  21.   paths: {
  22.     watched: [
  23.       "web/static",
  24.       "test/static"
  25.     ],
  26.  
  27.     public: "priv/static"
  28.   },
  29.  
  30.   plugins: {
  31.     babel: {
  32.       ignore: [/web\/static\/vendor/]
  33.     },
  34.     sass: {
  35.       options: {
  36.         includePaths: [
  37.           'node_modules/normalize-scss/sass',
  38.           'node_modules/foundation-sites/scss',
  39.           'node_modules/motion-ui/src',
  40.           'node_modules/font-awesome/scss'
  41.         ]
  42.       }
  43.     },
  44.     copycat: {
  45.       "fonts": ["node_modules/font-awesome/fonts"],
  46.       verbose: true,
  47.       onlyChanged: true
  48.     }
  49.   },
  50.  
  51.   modules: {
  52.     autoRequire: {
  53.       "js/app.js": ["web/static/js/app"]
  54.     }
  55.   },
  56.  
  57.   npm: {
  58.     enabled: true,
  59.     globals: {
  60.       $: 'jquery',
  61.       jQuery: 'jquery',
  62.     }
  63.   }
  64. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement