Skip to content

Commit

Permalink
feat: Upgrade to c12@2 so config is loaded as ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Nov 16, 2024
1 parent 96445c9 commit 5ba33c1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/wxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@webext-core/isolated-element": "^1.1.2",
"@webext-core/match-patterns": "^1.0.3",
"async-mutex": "^0.5.0",
"c12": "^1.11.2",
"c12": "^2.0.1",
"cac": "^6.7.14",
"chokidar": "^3.6.0",
"ci-info": "^4.0.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/wxt/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import cli from './commands';
import { version } from '../version';
import { isAliasedCommand } from './cli-utils';

// TODO: Remove. See https://github.com/wxt-dev/wxt/issues/277
process.env.VITE_CJS_IGNORE_WARNING = 'true';

// Grab the command that we're trying to run
cli.parse(process.argv, { run: false });

Expand Down
35 changes: 33 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ba33c1

Please # to comment.