Co-authored-by: Ben Word <ben@benword.com>
This commit is contained in:
Kelly Mears
2022-02-23 06:45:08 -08:00
committed by GitHub
parent fc93185a7a
commit f297df0942
8 changed files with 510 additions and 546 deletions

View File

@@ -3,7 +3,7 @@
*
* @param {bud} app
*/
module.exports = (app) =>
module.exports = async (app) => {
app
/**
* Application entrypoints
@@ -11,15 +11,15 @@ module.exports = (app) =>
* Paths are relative to your resources directory
*/
.entry({
app: ['scripts/app.js', 'styles/app.css'],
editor: ['scripts/editor.js', 'styles/editor.css'],
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'])
.assets('images')
/**
* These files will trigger a full page reload
@@ -36,4 +36,10 @@ module.exports = (app) =>
*
* This is your local dev server.
*/
.proxy('http://example.test');
.proxy('http://example.test')
/**
* Development URL
*/
.serve('http://example.test:3000');
};