exports.config = {
  // See http://brunch.io/#documentation for docs.
  files: {
    javascripts: {
      joinTo: "js/app.js"
      // To use a separate vendor.js bundle, specify two files path
      // https://github.com/brunch/brunch/blob/master/docs/config.md#files
      // joinTo: {
      //  "js/app.js": /^(js)/,
      //  "js/vendor.js": /^(vendor)|(deps)/
      // }
      //
      // To change the order of concatenation of files, explicitly mention here
      // https://github.com/brunch/brunch/tree/master/docs#concatenation
      // order: {
      //   before: [
      //     "vendor/js/jquery-2.1.1.js",
      //     "vendor/js/bootstrap.min.js"
      //   ]
      // }
    },
    stylesheets: {
      joinTo: "css/app.css"
    }
  },
  conventions: {
    // This option sets where we should place non-css and non-js assets in.
    // By default, we set this to "/assets/static". Files in this directory
    // will be copied to `paths.public`, which is set below to "../public".
    assets: /^(static)/,
    // Don't scan for js files inside elm-stuff folders
    ignored: [/elm-stuff/]
  },
  // paths configuration
  paths: {
    // Dependencies and current project directories to watch
    watched: ["static", "scss", "js", "vendor", "elm"],
    // Where to compile files to
    public: "../public"
      // Do not use ES6 compiler in vendor code
      ignore: [/vendor/, /node_modules/]
    },
    elmBrunch: {
      elmFolder: "elm",
      mainModules: ["Main.elm"],
      makeParameters: ["--warn", "--debug"],
      outputFolder: "../js"
    },
    sass: {
      options: {
        includePaths: ["node_modules/bootstrap/scss"],
        precision: 8
      }
    }
  },
  modules: {
    autoRequire: {
      "js/app.js": ["js/app"]
    }
  }
};

exports.npm = {
  globals: {
    $: 'jquery',
    jQuery: 'jquery',
    Popper: 'popper.js',
  }
}
  },
  // Configure your plugins
  plugins: {
    babel: {