Skip to content

Commit 459896f

Browse files
author
Guillaume Chau
committed
fix: classic serve/build commands
1 parent ce1de07 commit 459896f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ module.exports = (api, options) => {
1414
config.api = api
1515
const service = config.service = api.service
1616

17+
api.chainWebpack(webpackConfig => {
18+
// Default entry
19+
webpackConfig.entry('app').clear().add(config.entry('client'))
20+
})
21+
1722
api.registerCommand('ssr:build', {
1823
description: 'build for production (SSR)',
1924
}, async (args) => {

0 commit comments

Comments
 (0)