Skip to content

Commit

Permalink
added azure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey committed Nov 5, 2023
1 parent 54b2d54 commit dc8d48a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Login/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ const Login = ({
return null;
}

console.log(JSON.stringify(process.env));

return (
<main className={classes.main}>
<Paper className={classes.paper}>
Expand Down
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const HtmlWebPackPlugin = require('html-webpack-plugin'),
WorkboxPlugin = require('workbox-webpack-plugin'),
MiniCssExtractPlugin = require('mini-css-extract-plugin');

console.log(`NODE_ENV: ${JSON.stringify(process.env.NODE_ENV)}`);

if (process.env.NODE_ENV == "production") {
require('dotenv').config({ path: '.env.release' });
}
Expand Down Expand Up @@ -36,6 +38,7 @@ if (process.env.PUBLIC_URL) {
const devServerHost = process.env.WEBPACK_HOST || 'localhost';

module.exports = (env, options) => ({

entry: {
main: './src/index.jsx',
},
Expand Down

0 comments on commit dc8d48a

Please sign in to comment.