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'),
|
from: path.join(__dirname, '../src/config/locales'),
|
||||||
to: path.join(__dirname, '../dist/electron/locales'),
|
to: path.join(__dirname, '../dist/electron/locales'),
|
||||||
globOptions: {
|
globOptions: {
|
||||||
gitignore: true,
|
|
||||||
ignore: ['.*', '*~']
|
ignore: ['.*', '*~']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,7 +186,6 @@ if (process.env.NODE_ENV === 'production') {
|
||||||
from: path.join(__dirname, '../static'),
|
from: path.join(__dirname, '../static'),
|
||||||
to: path.join(__dirname, '../dist/electron/static'),
|
to: path.join(__dirname, '../dist/electron/static'),
|
||||||
globOptions: {
|
globOptions: {
|
||||||
gitignore: true,
|
|
||||||
ignore: ['.*', '*~']
|
ignore: ['.*', '*~']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,7 +136,6 @@ if (process.env.NODE_ENV === 'production') {
|
||||||
from: path.join(__dirname, '../static'),
|
from: path.join(__dirname, '../static'),
|
||||||
to: path.join(__dirname, '../dist/web/static'),
|
to: path.join(__dirname, '../dist/web/static'),
|
||||||
globOptions: {
|
globOptions: {
|
||||||
gitignore: true,
|
|
||||||
ignore: ['.*', '*~']
|
ignore: ['.*', '*~']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue