Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 5c6145c

Browse files
committed
fixed esm issue
1 parent fe98f65 commit 5c6145c

File tree

1 file changed

+1
-1
lines changed
  • examples/react/develop/simple-counter/scripts

1 file changed

+1
-1
lines changed

examples/react/develop/simple-counter/scripts/analyze.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Note: Webpack Bundle Analyzer doesn't show accurately which bundles were tree shaken
33
// (See: https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/161)
44

5-
import dotenv from 'dotenv';
5+
const dotenv = require('dotenv');
66

77
// Loads environment variables from the '.env' file
88
dotenv.config();

0 commit comments

Comments
 (0)