mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(40590): bundle the readme files of datasources inside app plugins (#44068)
This commit is contained in:
parent
f4a0f21b3c
commit
ebbb283d75
@ -97,8 +97,9 @@ const getCommonPlugins = (options: WebpackConfigurationOptions) => {
|
||||
new CopyWebpackPlugin(
|
||||
[
|
||||
// If src/README.md exists use it; otherwise the root README
|
||||
{ from: hasREADME ? 'README.md' : '../README.md', to: '.', force: true },
|
||||
{ from: hasREADME ? 'README.md' : '../README.md', to: '.', force: true, prority: 1 },
|
||||
{ from: 'plugin.json', to: '.' },
|
||||
{ from: '**/README.md', to: '[path]README.md', priority: 0 },
|
||||
{ from: '../LICENSE', to: '.' },
|
||||
{ from: '../CHANGELOG.md', to: '.', force: true },
|
||||
{ from: '**/*.json', to: '.' },
|
||||
|
Loading…
Reference in New Issue
Block a user