Toolkit: copy full directory structure for img,libs,static (#20145)
This commit is contained in:
@@ -84,13 +84,13 @@ const getCommonPlugins = (options: WebpackConfigurationOptions) => {
|
||||
{ from: 'plugin.json', to: '.' },
|
||||
{ from: '../README.md', to: '.' },
|
||||
{ from: '../LICENSE', to: '.' },
|
||||
{ from: 'img/*', to: '.' },
|
||||
{ from: '**/*.json', to: '.' },
|
||||
{ from: '**/*.svg', to: '.' },
|
||||
{ from: '**/*.png', to: '.' },
|
||||
{ from: '**/*.html', to: '.' },
|
||||
{ from: 'libs/*', to: '.' },
|
||||
{ from: 'static/*', to: '.' },
|
||||
{ from: 'img/**/*', to: '.' },
|
||||
{ from: 'libs/**/*', to: '.' },
|
||||
{ from: 'static/**/*', to: '.' },
|
||||
],
|
||||
{ logLevel: options.watch ? 'silent' : 'warn' }
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user