Skip to content

Commit

Permalink
chore(pkg)!: avoid inlining dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 24, 2022
1 parent 8fd5634 commit 0c28f44
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
5 changes: 3 additions & 2 deletions build.config.ts
Expand Up @@ -2,8 +2,9 @@ import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
declaration: true,
emitCJS: true,
inlineDependencies: true,
rollup: {
emitCJS: true
},
entries: [
'src/index'
]
Expand Down
12 changes: 7 additions & 5 deletions package.json
Expand Up @@ -23,18 +23,20 @@
"release": "pnpm test && pnpm build && standard-version && pnpm publish && git push --follow-tags",
"test": "pnpm lint && vitest run"
},
"dependencies": {
"import-meta-resolve": "^1.1.1",
"pathe": "^0.2.0",
"pkg-types": "^0.3.2"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"@types/node": "latest",
"c8": "^7.11.0",
"c8": "latest",
"eslint": "latest",
"import-meta-resolve": "latest",
"jiti": "latest",
"pathe": "latest",
"pkg-types": "latest",
"standard-version": "latest",
"unbuild": "latest",
"vitest": "^0.7.10"
"vitest": "latest"
},
"packageManager": "pnpm@6.32.3"
}
29 changes: 12 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c28f44

Please sign in to comment.