From 7eeb23639c68e5a34adda86f6ff06fc661e3b165 Mon Sep 17 00:00:00 2001 From: rozetko Date: Fri, 11 Jan 2019 19:18:35 +0300 Subject: [PATCH] Copy img, screenshots and plugin.json from src to dist --- .gitignore | 5 +---- README.md | 2 +- build/webpack.base.conf.js | 3 +++ 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9ee957f..331b7fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,6 @@ package-lock.json node_modules -dist/* -!dist/screenshots -!dist/img -!dist/plugin.json +dist/ npm-debug.log coverage/ .aws-config.json diff --git a/README.md b/README.md index 1b4ed2f..c252b6e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Grafana 5.0 support is priority. # Screenshots -![Screenshot](https://github.com/CorpGlory/grafana-multibar-graph-panel/blob/master/dist/screenshots/screenshot-1.png) +![Screenshot](https://github.com/CorpGlory/grafana-multibar-graph-panel/blob/master/src/screenshots/screenshot-1.png) # Build diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 109f262..1a46549 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -27,6 +27,9 @@ module.exports = { ], plugins: [ new CopyWebpackPlugin([ + { from: 'plugin.json' }, + { from: 'img/*' }, + { from: 'screenshots/*' }, { from: 'partials/*' }, { from: '../README.md' } ])