Skip to content

Commit

Permalink
fix: remove env.development import in paragon-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoa committed Apr 3, 2024
1 parent 94b4d0f commit 6c3752f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/plugins/paragon-webpack-plugin/ParagonWebpackPlugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { Compilation, sources } = require('webpack');
const dotenv = require('dotenv');
const fs = require('fs');
const path = require('path');
const {
Expand All @@ -15,12 +14,6 @@ const {
} = require('./utils');
const resolvePrivateEnvConfig = require('../../resolvePrivateEnvConfig');

// Add process env vars. Currently used only for setting the
// server port and the publicPath
dotenv.config({
path: path.resolve(process.cwd(), '.env.development'),
});

// Allow private/local overrides of env vars from .env.development for config settings
// that you'd like to persist locally during development, without the risk of checking
// in temporary modifications to .env.development.
Expand Down

0 comments on commit 6c3752f

Please sign in to comment.