mirror of
https://github.com/robonen/tools.git
synced 2026-03-20 10:54:44 +00:00
refactor(repo): change cli generated exports in package.json
This commit is contained in:
4
cli.ts
4
cli.ts
@@ -30,13 +30,13 @@ const generatePackageJson = (name: string, path: string, hasVite: boolean) => {
|
||||
},
|
||||
type: 'module',
|
||||
files: ['dist'],
|
||||
main: './dist/index.cjs',
|
||||
main: './dist/index.umd.js',
|
||||
module: './dist/index.js',
|
||||
types: './dist/index.d.ts',
|
||||
exports: {
|
||||
'.': {
|
||||
import: './dist/index.js',
|
||||
require: './dist/index.cjs',
|
||||
require: './dist/index.umd.js',
|
||||
types: './dist/index.d.ts',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user