File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
const EmberApp = require ( 'ember-cli/lib/broccoli/ember-app' ) ;
4
- const { maybeEmbroider } = require ( '@embroider/test-setup ' ) ;
4
+ const { compatBuild } = require ( '@embroider/compat ' ) ;
5
5
6
- module . exports = function ( defaults ) {
6
+ module . exports = async function ( defaults ) {
7
+ const { buildOnce } = await import ( '@embroider/vite' ) ;
7
8
let app = new EmberApp ( defaults , { } ) ;
8
9
9
- return maybeEmbroider ( app ) ;
10
+ return compatBuild ( app , buildOnce ) ;
10
11
} ;
Original file line number Diff line number Diff line change @@ -120,13 +120,12 @@ module.exports = {
120
120
'save-dev' : true ,
121
121
verbose : false ,
122
122
packages : [
123
- '@embroider/core@unstable' ,
124
- '@embroider/vite@unstable' ,
125
- '@embroider/compat@unstable' ,
126
- '@embroider/test-setup@unstable' ,
127
- '@embroider/config-meta-loader@unstable' ,
123
+ '@embroider/core@^4.0.0-alpha.0' ,
124
+ '@embroider/vite@^1.0.0-alpha.0' ,
125
+ '@embroider/compat@^4.0.0-alpha.0' ,
126
+ '@embroider/config-meta-loader@^1.0.0-alpha.0' ,
128
127
// once @embroider /vite is tested with v6 and has a wider peer dependency range, we should allow installing latest vite again
129
- 'vite@^5.4.11 ' ,
128
+ 'vite@^6.0.0 ' ,
130
129
'@rollup/plugin-babel' ,
131
130
'decorator-transforms' ,
132
131
'@babel/plugin-transform-runtime' ,
You can’t perform that action at this time.
0 commit comments