📦 improve(patch): bud@6.2.0 (#3074)
This commit is contained in:
@@ -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/');
|
||||
};
|
||||
Reference in New Issue
Block a user