@@ -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');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user