Skip to content

Commit

Permalink
Merge pull request #3 from nutboltu/feature-add-screenshot
Browse files Browse the repository at this point in the history
[feature] add screenshot
  • Loading branch information
nutboltu committed Nov 25, 2018
2 parents c85e87e + dc3ea14 commit b8a29ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Binary file added docs/react-search-field.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@babel/preset-react": "7.0.0",
"@babel/runtime": "7.1.5",
"babel-loader": "8.0.4",
"copy-webpack-plugin": "4.6.0",
"css-loader": "0.28.9",
"eslint": "4.15.0",
"eslint-config-airbnb": "16.1.0",
Expand All @@ -44,7 +45,7 @@
"html-webpack-plugin": "3.2.0",
"react-syntax-highlighter": "10.1.1",
"style-loader": "0.19.1",
"terser-webpack-plugin": "^1.1.0",
"terser-webpack-plugin": "1.1.0",
"webpack": "4.26.0",
"webpack-cli": "3.1.2",
"webpack-dev-server": "3.1.10"
Expand Down
Binary file added src/docs/react-search-field.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');

module.exports = {
Expand Down Expand Up @@ -44,5 +45,8 @@ module.exports = {
new HtmlWebpackPlugin({
template: path.join(__dirname, 'src/docs/index.html'),
}),
new CopyWebpackPlugin([{
from: path.join(__dirname, 'src/docs/react-search-field.png'),
}]),
],
};

0 comments on commit b8a29ff

Please sign in to comment.