Skip to content

Commit

Permalink
fix(web): Fix the common-js module path (#20)
Browse files Browse the repository at this point in the history
Jest tests do not work because Jest uses commonjs module resolution. The `package.json` references `"commonjs"` while the directory is `"common-js"`

[category:Web Infrastructure]
  • Loading branch information
NicholasBoll authored Sep 20, 2023
1 parent 46c4043 commit 199765a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/canvas-tokens-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Canvas design tokens for web",
"author": "Workday, Inc. (https://www.workday.com)",
"license": "CC-BY-ND-4.0",
"main": "dist/commonjs/index.js",
"main": "dist/common-js/index.js",
"module": "dist/es6/index.js",
"sideEffects": false,
"types": "dist/es6/index.d.ts",
Expand Down

0 comments on commit 199765a

Please sign in to comment.