Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #380 from gnosis/feature/DX-592-google-console
Browse files Browse the repository at this point in the history
Add public dir with google console validation html page
  • Loading branch information
anxolin authored Oct 1, 2018
2 parents 94fc52d + eff0210 commit 8755a21
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
38 changes: 38 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.2",
"babel-plugin-transform-remove-console": "^6.9.0",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"eslint": "^5.5.0",
"eslint-config-airbnb": "^17.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/public/google96dd53efdc540a07.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google96dd53efdc540a07.html
4 changes: 4 additions & 0 deletions webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

const HtmlWebpackPlugin = require('html-webpack-plugin')
const FaviconsWebpackPlugin = require('favicons-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin')

const path = require('path')
const webpack = require('webpack')
Expand Down Expand Up @@ -166,5 +167,8 @@ module.exports = {
WHITELIST: JSON.stringify(whitelist),
},
}),
new CopyWebpackPlugin([{
from: 'public',
}]),
],
}
4 changes: 4 additions & 0 deletions webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin')
const FaviconsWebpackPlugin = require('favicons-webpack-plugin')
const NameAllModulesPlugin = require('name-all-modules-plugin')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin')

const path = require('path')
const webpack = require('webpack')
Expand Down Expand Up @@ -177,5 +178,8 @@ module.exports = {
},
}),
new UglifyJsPlugin(),
new CopyWebpackPlugin([{
from: 'public',
}]),
],
}

0 comments on commit 8755a21

Please sign in to comment.