robots
This commit is contained in:
parent
c90f5e6fb7
commit
df12e2f109
@ -8,6 +8,7 @@ var url = require('url');
|
||||
var paths = require('./paths');
|
||||
var getClientEnvironment = require('./env');
|
||||
|
||||
const RobotsPlugin = require('@tanepiper/robots-webpack-plugin');
|
||||
|
||||
|
||||
function ensureSlash(path, needsSlash) {
|
||||
@ -234,7 +235,8 @@ module.exports = {
|
||||
// having to parse `index.html`.
|
||||
new ManifestPlugin({
|
||||
fileName: 'asset-manifest.json'
|
||||
})
|
||||
}),
|
||||
new RobotsPlugin({sitemap: 'http://ratsontheboat.org/sitemap.xml'})
|
||||
],
|
||||
// Some libraries import Node modules but don't use them in the browser.
|
||||
// Tell Webpack to provide empty mocks for them so importing them works.
|
||||
|
13
package.json
13
package.json
@ -3,14 +3,10 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"babel-eslint": "7.1.1",
|
||||
"eslint": "3.8.1",
|
||||
"eslint-plugin-flowtype": "2.21.0",
|
||||
"eslint-plugin-import": "2.0.1",
|
||||
"eslint-plugin-jsx-a11y": "2.2.3",
|
||||
"eslint-plugin-react": "6.4.1",
|
||||
"@tanepiper/robots-webpack-plugin": "^0.4.0",
|
||||
"autoprefixer": "6.5.1",
|
||||
"babel-core": "6.17.0",
|
||||
"babel-eslint": "7.1.1",
|
||||
"babel-jest": "17.0.2",
|
||||
"babel-loader": "6.2.7",
|
||||
"babel-preset-react-app": "^2.0.1",
|
||||
@ -21,8 +17,13 @@
|
||||
"css-loader": "0.26.0",
|
||||
"detect-port": "1.0.1",
|
||||
"dotenv": "2.0.0",
|
||||
"eslint": "3.8.1",
|
||||
"eslint-config-react-app": "^0.5.0",
|
||||
"eslint-loader": "1.6.0",
|
||||
"eslint-plugin-flowtype": "2.21.0",
|
||||
"eslint-plugin-import": "2.0.1",
|
||||
"eslint-plugin-jsx-a11y": "2.2.3",
|
||||
"eslint-plugin-react": "6.4.1",
|
||||
"extract-text-webpack-plugin": "1.0.1",
|
||||
"file-loader": "0.9.0",
|
||||
"filesize": "3.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user