Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 6959afc

Browse files
committed
fix: templates path
1 parent d7fa26f commit 6959afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/ConfigureEncore/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { TaskFn } from '../../src/contracts'
1616
* Creates the CSS entrypoint
1717
*/
1818
function createCssEntryPoint(absPath: string, logger: typeof SinkLogger) {
19-
const template = join(__dirname, '..', '..', '..', 'templates/stubs/css/app.css')
19+
const template = join(__dirname, '..', '..', 'templates/stubs/css/app.css')
2020
const outFile = 'resources/css/app.css'
2121

2222
const cssFile = new files.MustacheFile(absPath, outFile, template).apply({})
@@ -29,7 +29,7 @@ function createCssEntryPoint(absPath: string, logger: typeof SinkLogger) {
2929
* Creates the JS entrypoint
3030
*/
3131
function createJsEntryPoint(absPath: string, logger: typeof SinkLogger) {
32-
const template = join(__dirname, '..', '..', '..', 'templates/stubs/js/app.js')
32+
const template = join(__dirname, '..', '..', 'templates/stubs/js/app.js')
3333
const outFile = 'resources/js/app.js'
3434

3535
const jsFile = new files.MustacheFile(absPath, outFile, template).apply({})

0 commit comments

Comments
 (0)