Merge pull request #1482 from h3poteto/fix/copy-plugin
Fix ignore option of copy-webpack-plugin
This commit is contained in:
commit
7d97cf62d2
|
@ -66,7 +66,6 @@ let mainConfig = {
|
|||
from: path.join(__dirname, '../src/config/locales'),
|
||||
to: path.join(__dirname, '../dist/electron/locales'),
|
||||
globOptions: {
|
||||
gitignore: true,
|
||||
ignore: ['.*', '*~']
|
||||
}
|
||||
}
|
||||
|
|
|
@ -186,7 +186,6 @@ if (process.env.NODE_ENV === 'production') {
|
|||
from: path.join(__dirname, '../static'),
|
||||
to: path.join(__dirname, '../dist/electron/static'),
|
||||
globOptions: {
|
||||
gitignore: true,
|
||||
ignore: ['.*', '*~']
|
||||
}
|
||||
}
|
||||
|
|
|
@ -136,7 +136,6 @@ if (process.env.NODE_ENV === 'production') {
|
|||
from: path.join(__dirname, '../static'),
|
||||
to: path.join(__dirname, '../dist/web/static'),
|
||||
globOptions: {
|
||||
gitignore: true,
|
||||
ignore: ['.*', '*~']
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue