Replace Laravel Mix with Bud (#2643)
Co-authored-by: QWp6t <hi@qwp6t.me> Co-authored-by: Ben Word <ben@benword.com>
This commit is contained in:
41
bud.config.js
Normal file
41
bud.config.js
Normal file
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
* @typedef {import('@roots/bud').Bud} Bud
|
||||
*
|
||||
* @param {Bud} config
|
||||
*/
|
||||
|
||||
module.exports = async (config) =>
|
||||
config
|
||||
/**
|
||||
* Application entrypoints
|
||||
*
|
||||
* Paths are relative to your resources directory
|
||||
*/
|
||||
.entry({
|
||||
app: ['scripts/app.js', 'styles/app.css'],
|
||||
editor: ['scripts/editor.js', 'styles/editor.css'],
|
||||
customizer: 'scripts/customizer.js',
|
||||
})
|
||||
|
||||
/**
|
||||
* These files should be processed as part of the build
|
||||
* even if they are not explicitly imported in application assets.
|
||||
*/
|
||||
.assets(['assets/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({target: 'http://example.test'});
|
||||
Reference in New Issue
Block a user