📦 improve(patch): bud@6.2.0 (#3074)

This commit is contained in:
Kelly Mears
2022-07-12 09:27:24 -07:00
committed by GitHub
parent 16d99623a9
commit 8192a15e50
6 changed files with 2033 additions and 1134 deletions

View File

@@ -1,46 +0,0 @@
/**
* @typedef {import('@roots/bud').Bud} bud
*
* @param {bud} app
*/
module.exports = async (app) => {
app
/**
* Application entrypoints
*
* Paths are relative to your resources directory
*/
.entry({
app: ['@scripts/app', '@styles/app'],
editor: ['@scripts/editor', '@styles/editor'],
})
/**
* These files should be processed as part of the build
* even if they are not explicitly imported in application assets.
*/
.assets('images')
/**
* These files will trigger a full page reload
* when modified.
*/
.watch('resources/views/**/*', 'app/**/*')
/**
* Target URL to be proxied by the dev server.
*
* This should be the URL you use to visit your local development server.
*/
.proxy('http://example.test')
/**
* Development URL to be used in the browser.
*/
.serve('http://0.0.0.0:3000')
/**
* Relative path to the public directory.
*/
.setPublicPath('/app/themes/sage/public/');
};