Skip to content

Commit

Permalink
fix: templates path
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed May 5, 2021
1 parent d7fa26f commit 6959afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/ConfigureEncore/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { TaskFn } from '../../src/contracts'
* Creates the CSS entrypoint
*/
function createCssEntryPoint(absPath: string, logger: typeof SinkLogger) {
const template = join(__dirname, '..', '..', '..', 'templates/stubs/css/app.css')
const template = join(__dirname, '..', '..', 'templates/stubs/css/app.css')
const outFile = 'resources/css/app.css'

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

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

0 comments on commit 6959afc

Please sign in to comment.