Skip to content

Commit

Permalink
Fix process undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Barma-lej committed Oct 31, 2024
1 parent 4638fb8 commit 146c2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import terser from '@rollup/plugin-terser';
// import minifyLiterals from 'rollup-plugin-minify-html-literals';
import serve from 'rollup-plugin-serve';

const IS_DEV = process.env.ROLLUP_WATCH;
const IS_DEV = globalThis.process?.env?.ROLLUP_WATCH;

const serverOptions = {
contentBase: ['./dist'],
Expand Down

0 comments on commit 146c2a7

Please sign in to comment.