Skip to content

Commit

Permalink
fix(vite): Copy correct package.json when building a library (#13854)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Cunningham <ndcunningham>
(cherry picked from commit b94c7e5)
  • Loading branch information
ndcunningham authored and FrozenPandaz committed Dec 19, 2022
1 parent ea4fc10 commit d3f0ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/executors/build/build.impl.ts
Expand Up @@ -28,7 +28,7 @@ export default async function viteBuildExecutor(
outputPath: options.outputPath,
assets: [
{
input: '.',
input: projectRoot,
output: '.',
glob: 'package.json',
},
Expand Down

0 comments on commit d3f0ca2

Please sign in to comment.