Skip to content

Commit

Permalink
fix(dist): rename cjs output to end in cjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Apr 30, 2021
1 parent 1aa48c3 commit 1c20168
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "highlightjs-glimmer",
"version": "1.3.3",
"description": "Glimmer syntax highlighting with Highlight.JS",
"main": "src/index.js",
"main": "dist/glimmer.cjs.cjs",
"browser": "dist/glimmer.esm.min.js",
"type": "module",
"repository": "git@github.com:NullVoxPopuli/highlightjs-glimmer.git",
"author": "NullVoxPopuli",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ esbuild.buildSync({
format: 'cjs',
sourcemap: false,
target: ['node14'],
outfile: path.join(__dirname, '../dist/glimmer.cjs.js'),
outfile: path.join(__dirname, '../dist/glimmer.cjs.cjs'),
});

0 comments on commit 1c20168

Please sign in to comment.