Skip to content

Commit

Permalink
Merge pull request #40 from codemod-com/fix_test_fixtures_webpack/v5/…
Browse files Browse the repository at this point in the history
…json-imports-to-default-imports

fix(codemods/webpack/v5/json-imports-to-default-imports): correct test fixtures for the codemod
  • Loading branch information
alexbit-codemod authored Jan 20, 2025
2 parents 4a68d47 + 8916664 commit cc92816
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import pkg from "./package.json";
import pkg from './package.json';
console.log(pkg.version);
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import pkg from "./package.json";
import pkg from './package.json';
console.log(pkg.version, pkg.name, pkg.description);
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import pkg from "./data.json";
import pkg from './data.json';
console.log(pkg.nested.property, pkg.nested2.property);

0 comments on commit cc92816

Please sign in to comment.