Skip to content

Commit

Permalink
fix(nuxt): fix build, run nuxt build after core
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jan 23, 2022
1 parent caf63dc commit a04dc03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions integrations/nuxt/package.json
Expand Up @@ -33,6 +33,7 @@
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"scripts": {
"build": "nuxt-module-build",
"stub": "nuxt-module-build --stub",
"prepack": "nuxt-module-build",
"play": "nuxi dev playground",
Expand Down
5 changes: 5 additions & 0 deletions integrations/nuxt/tsconfig.json
@@ -1,3 +1,8 @@
{
"extends": "./playground/.nuxt/tsconfig.json",
"compilerOptions": {
"paths": {
"@unlighthouse/core": ["../../packages/core/src"],
}
}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"cli:vue": "node packages/cli/dist/cli.mjs --config-file test/fixtures/staging-vue.config.ts --debug",
"ci:vue": "node packages/cli/dist/ci.mjs --config-file test/fixtures/staging-vue.config.ts --build-static --debug",
"ci:docs": "node packages/cli/dist/ci.mjs --root docs --build-static --debug",
"build": "pnpm -r --parallel run build",
"build": "pnpm -r --parallel --filter !@unlighthouse/nuxt run build && pnpm -r --parallel --filter @unlighthouse/nuxt run build",
"stub": "pnpm -r --parallel run stub",
"dev": "pnpm run stub && pnpm run watch:client",
"lint": "eslint \"packages/**/*.{ts,vue,json,yml}\"",
Expand Down

0 comments on commit a04dc03

Please sign in to comment.