* chore(deps): Bump @roots/bud to v5.2.0 * lockfile * remove `setPublicPath` * suggestions (#2961) * suggestions * unneccessary Co-authored-by: Kelly Mears <developers@tinypixel.dev>
40 lines
883 B
JavaScript
40 lines
883 B
JavaScript
/**
|
|
* @typedef {import('@roots/bud').Bud} bud
|
|
*
|
|
* @param {bud} app
|
|
*/
|
|
module.exports = (app) =>
|
|
app
|
|
/**
|
|
* Application entrypoints
|
|
*
|
|
* Paths are relative to your resources directory
|
|
*/
|
|
.entry({
|
|
app: ['scripts/app.js', 'styles/app.css'],
|
|
editor: ['scripts/editor.js', 'styles/editor.css'],
|
|
})
|
|
|
|
/**
|
|
* These files should be processed as part of the build
|
|
* even if they are not explicitly imported in application assets.
|
|
*/
|
|
.assets([app.path('src', 'images')])
|
|
|
|
/**
|
|
* These files will trigger a full page reload
|
|
* when modified.
|
|
*/
|
|
.watch([
|
|
'tailwind.config.js',
|
|
'resources/views/**/*.blade.php',
|
|
'app/View/**/*.php',
|
|
])
|
|
|
|
/**
|
|
* Target URL to be proxied by the dev server.
|
|
*
|
|
* This is your local dev server.
|
|
*/
|
|
.proxy('http://example.test');
|