mirror of
https://github.com/owntracks/frontend.git
synced 2026-08-25 20:47:16 +00:00
Fix DefinePlugin "Conflicting values for 'process.env'" warning
This commit is contained in:
+1
-3
@@ -10,9 +10,7 @@ module.exports = {
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
"process.env": {
|
||||
PACKAGE_VERSION: `"${version}"`,
|
||||
},
|
||||
"process.env.PACKAGE_VERSION": `"${version}"`,
|
||||
}),
|
||||
new MomentLocalesPlugin(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user