Skip to content

Commit

Permalink
Refactor to define dependencies as devDependencies
Browse files Browse the repository at this point in the history
ESLint falsely claims `esbuild`, `@babel/core` and `clean-css` in
compile script as production dependencies, however they're only used to
compile the code which is not connected to the production environment.
  • Loading branch information
undergroundwires committed Dec 28, 2024
1 parent a29b261 commit 1cbd126
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 32 deletions.
2 changes: 1 addition & 1 deletion compile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable no-console */
/* eslint-disable no-console, import/no-extraneous-dependencies */

const fs = require('fs');
const babel = require('@babel/core');
Expand Down
Loading

0 comments on commit 1cbd126

Please sign in to comment.