Don't include some files in final package

This commit is contained in:
Tamius Han 2020-03-15 20:28:38 +01:00
parent 0272597bda
commit d6e6c4ad40

View File

@ -75,12 +75,12 @@ const config = {
filename: '[name].css',
}),
new CopyWebpackPlugin([
{ from: 'res', to: 'res'},
{ from: 'res', to: 'res', ignore: ['css', 'css/**']},
{ from: 'ext', to: 'ext', ignore: ['conf/*', 'lib/**']},
{ from: 'icons', to: 'icons', ignore: ['icon.xcf'] },
{ from: 'popup/popup.html', to: 'popup/popup.html', transform: transformHtml },
{ from: 'options/options.html', to: 'options/options.html', transform: transformHtml },
{ from: 'install/first-time/first-time.html', to: 'install/first-time/first-time.html', transform: transformHtml},
// { from: 'install/first-time/first-time.html', to: 'install/first-time/first-time.html', transform: transformHtml},
{
from: 'manifest.json',
to: 'manifest.json',