Toolkit: copy full directory structure for img,libs,static (#20145)

This commit is contained in:
Ryan McKinley
2019-11-01 09:39:20 -07:00
committed by GitHub
parent 69cc107961
commit dc1fa7ac70
@@ -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' }
),