File tree 2 files changed +2
-26
lines changed
2 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,13 @@ prog
118
118
. command ( 'build' )
119
119
. describe ( 'Create a production build of your app' )
120
120
. option ( '--verbose' , 'Log more stuff' , false )
121
- . action ( async ( { verbose } ) => {
121
+ . action ( async ( ) => {
122
122
process . env . NODE_ENV = process . env . NODE_ENV || 'production' ;
123
123
const config = await get_config ( ) ;
124
124
125
125
try {
126
126
const { build } = await import ( './core/build/index.js' ) ;
127
- const build_data = await build ( config ) ;
127
+ await build ( config ) ;
128
128
129
129
console . log (
130
130
`\nRun ${ colors . bold ( ) . cyan ( 'npm run preview' ) } to preview your production build locally.`
@@ -141,10 +141,6 @@ prog
141
141
142
142
// this is necessary to close any open db connections, etc
143
143
process . exit ( 0 ) ;
144
-
145
- // const { adapt } = await import('./core/adapt/index.js');
146
- // await adapt(config, build_data, { verbose });
147
-
148
144
} catch ( error ) {
149
145
handle_error ( error ) ;
150
146
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments