Skip to content

Commit

Permalink
feat: reexport @shuvi/service
Browse files Browse the repository at this point in the history
* fix: update package.json add publish file lib esm

* fix(shuvi): export from shuvi
  • Loading branch information
wangjinyang authored Sep 23, 2021
1 parent 9fa3c9e commit 06c7e51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/shuvi/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@shuvi/service'
2 changes: 1 addition & 1 deletion test/fixtures/basic/express.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const express = require('express');
const { shuvi } = require('../../../packages/service/lib/index');
const { shuvi } = require('shuvi');

const port = parseInt(process.env.PORT, 10) || 3000;
const dev = process.env.NODE_ENV !== 'production';
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/basic/koa.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Koa = require('koa');
const { shuvi } = require('../../../packages/service/lib/index');
const { shuvi } = require('shuvi');

const port = parseInt(process.env.PORT, 10) || 3000;
const dev = process.env.NODE_ENV !== 'production';
Expand Down

0 comments on commit 06c7e51

Please sign in to comment.