fix webpack, don't include useless files (ext/lib and ext/conf) in build
Since files in /lib and /conf use optional chaining, and since optional chaining is only supported through the magic of babel plugins, this is one sure way to fail validation
This commit is contained in:
parent
2788b9e439
commit
31ed290390
@ -74,7 +74,7 @@ const config = {
|
||||
}),
|
||||
new CopyWebpackPlugin([
|
||||
{ from: 'res', to: 'res'},
|
||||
{ from: 'ext', to: 'ext'},
|
||||
{ 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 },
|
||||
|
Loading…
Reference in New Issue
Block a user