Skip to content

Commit

Permalink
Fix remaining usages/assumptions of .cjs.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Jun 23, 2021
1 parent 06dd96b commit 020c5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function prepareCJSMinified(input) {
return {
input,
output: {
file: input.replace('.js', '.min.js'),
file: input.replace('.cjs', '.min.cjs'),
format: 'cjs',
},
plugins: [
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"author": "opensource@apollographql.com",
"license": "MIT",
"main": "./dist/main.cjs.js",
"main": "./dist/main.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
Expand Down Expand Up @@ -54,7 +54,7 @@
"bundlesize": [
{
"name": "apollo-client",
"path": "./dist/apollo-client.cjs.min.js",
"path": "./dist/apollo-client.min.cjs",
"maxSize": "24.7 kB"
}
],
Expand Down

0 comments on commit 020c5e1

Please sign in to comment.