Skip to content

Commit

Permalink
build: fix rollup dev config
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Sep 10, 2024
1 parent 6206017 commit 6633c5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import typescript from '@rollup/plugin-typescript';
import terser from '@rollup/plugin-terser';

const dev = process.env.NODE_ENV !== 'production';
const dev = process.env.BUILD === 'development';

const terserOptions = { compress: { pure_funcs: ['console.debug'] } };
const terserOptions = {
compress: {
// pure_funcs: ['console.debug'],
},
};

export default [
{
Expand Down

0 comments on commit 6633c5d

Please sign in to comment.