Unverified Commit ee2b6f83 authored by Manoj Pandian Sakthivel's avatar Manoj Pandian Sakthivel Committed by GitHub
Browse files

Remove RobotstxtPlugin from webpack (#186)

* Pass filePath to RobotstxtPlugin

* USe DEPLOYENV to build the host

* Default host is 2020.ensembl.org

* Extra brackets

* Robots not allowed
parent 409f578f
Pipeline #42567 passed with stages
in 5 minutes and 51 seconds
module.exports = {
policy: [{ userAgent: '*', disallow: '/' }],
host: 'http://2020.ensembl.org'
policy: [{ userAgent: '*', disallow: '/' }]
};
......@@ -111,7 +111,9 @@ const plugins = [
}]
}),
new RobotstxtPlugin()
new RobotstxtPlugin({
filePath: '../robots.txt'
})
];
// prod specific configuration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment