File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
resources/app/includes/build/.vite Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ component {
7
7
this .applicationHelper = [ " includes/helpers.cfm" ];
8
8
9
9
function configure () {
10
+ settings = {
11
+ " hotFilePath" : " /includes/hot" ,
12
+ " buildDirectory" : " /includes/build" ,
13
+ " manifestFileName" : " .vite/manifest.json"
14
+ }
10
15
}
11
16
12
17
}
Original file line number Diff line number Diff line change 1
1
component singleton accessors = " true" {
2
2
3
- property name = " hotFilePath" default = " /includes/hot " ;
4
- property name = " buildDirectory" default = " /includes/build " ;
5
- property name = " manifestFileName" default = " manifest.json " ;
3
+ property name = " hotFilePath" inject = " box:setting:hotFilePath@vite-helpers " ;
4
+ property name = " buildDirectory" inject = " box:setting:buildDirectory@vite-helpers " ;
5
+ property name = " manifestFileName" inject = " box:setting:manifestFileName@vite-helpers " ;
6
6
7
7
/**
8
8
* Gets the assets path based on the entrypoints passed
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ component extends="tests.resources.ModuleIntegrationSpec" appMapping="/app" {
4
4
5
5
variables .hotServerUrl = " http://127.0.0.1:5173" ;
6
6
variables .hotFilePath = expandPath ( " /app/includes/hot" );
7
- variables .manifestFilePath = expandPath ( " /app/includes/build/manifest.json" );
7
+ variables .manifestFilePath = expandPath ( " /app/includes/build/.vite/ manifest.json" );
8
8
variables .manifestFileContents = {
9
9
" resources/assets/css/app.css" : {
10
10
" file" : " assets/app-00d284d6.css" ,
You can’t perform that action at this time.
0 commit comments