Skip to content

Commit

Permalink
feat(adder): ES module as default
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Aug 24, 2023
1 parent c8411de commit 1e0ce6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/adder/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ export const run = (options: Options) => Utils.autoCatch(async () => {
fs.outputFileSync(`${dir}/${packageFolderName}/__tests__/index.spec.ts`, '// TODO');
fs.outputFileSync(`${dir}/${packageFolderName}/package.json`, JSON.stringify({
name: packageName,
version: '1.0.0',
main: 'dist/index.cjs.js',
module: 'dist/index.es.js',
version: '0.0.1',
type: 'module',
main: 'dist/index.es.js',
types: "dist/index.d.ts",
exports: {
".": {
Expand Down

0 comments on commit 1e0ce6f

Please sign in to comment.