Skip to content

Commit

Permalink
ci: env 절대경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ImxYJL committed Jul 24, 2024
1 parent 6f6fb09 commit 71baf92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
const Dotenv = require('dotenv-webpack');

//console.log('Loading .env file from:', path.resolve(__dirname, './.env')); // 디버그 로그 추가
//console.log('Loading .env file from:', path.resolve(__dirname, './.env')); // 디버그 로그 추가

module.exports = (env, argv) => {
const isProduction = argv.mode === 'production';

Expand Down Expand Up @@ -52,7 +55,8 @@ module.exports = (env, argv) => {
new CleanWebpackPlugin(),
new Dotenv({
systemvars: true,
path: './frontend/.env',
path: '/home/runner/work/2024-review-me/2024-review-me/frontend/.env.',
//path: './.env',
}),
],
devtool: isProduction ? 'hidden-source-map' : 'eval',
Expand Down

0 comments on commit 71baf92

Please sign in to comment.