mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-01 11:17:59 +00:00
added graphql env variable
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
const HtmlWebPackPlugin = require('html-webpack-plugin');
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const webpack = require('webpack');
|
||||
|
||||
const commonPaths = require('./paths');
|
||||
|
||||
module.exports = {
|
||||
@@ -43,5 +46,8 @@ module.exports = {
|
||||
template: commonPaths.templatePath,
|
||||
favicon: './app/images/favicon.ico',
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env.GRAPHQL_URL': JSON.stringify(process.env.GRAPHQL_URL),
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user