mirror of https://github.com/Lissy93/dashy.git
🔧 Fix dup bool check in webpack config
This commit is contained in:
parent
7f011878b4
commit
d043c21264
|
@ -42,7 +42,7 @@ const isServer = process.env.IS_DOCKER || process.env.IS_SERVER || false;
|
||||||
const plugins = !isServer ? [
|
const plugins = !isServer ? [
|
||||||
new CopyWebpackPlugin({
|
new CopyWebpackPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
!isServer ? { from: './user-data', to: './' } : {},
|
{ from: './user-data', to: './' },
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
] : [];
|
] : [];
|
||||||
|
|
Loading…
Reference in New Issue