Bud v5.1.0 (#2952)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
/**
|
/**
|
||||||
* @typedef {import('@roots/bud').Bud} Bud
|
* @typedef {import('@roots/bud').Bud} Bud
|
||||||
*
|
*
|
||||||
* @param {Bud} config
|
* @param {Bud} app
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = async (config) =>
|
module.exports = (app) =>
|
||||||
config
|
app
|
||||||
/**
|
/**
|
||||||
* Application entrypoints
|
* Application entrypoints
|
||||||
*
|
*
|
||||||
@@ -20,7 +20,7 @@ module.exports = async (config) =>
|
|||||||
* These files should be processed as part of the build
|
* These files should be processed as part of the build
|
||||||
* even if they are not explicitly imported in application assets.
|
* even if they are not explicitly imported in application assets.
|
||||||
*/
|
*/
|
||||||
.assets(['resources/images'])
|
.assets([app.path('src', 'images')])
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* These files will trigger a full page reload
|
* These files will trigger a full page reload
|
||||||
@@ -37,4 +37,9 @@ module.exports = async (config) =>
|
|||||||
*
|
*
|
||||||
* This is your local dev server.
|
* This is your local dev server.
|
||||||
*/
|
*/
|
||||||
.proxy('http://example.test');
|
.proxy('http://example.test')
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Public path of application assets
|
||||||
|
*/
|
||||||
|
.setPublicPath('/app/themes/sage/public/');
|
||||||
|
|||||||
16
package.json
16
package.json
@@ -23,18 +23,22 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/eslint-parser": "^7.16.5",
|
"@babel/eslint-parser": "^7.16.5",
|
||||||
"@roots/bud": "^5.0.0",
|
"@roots/bud": "^5.1.0",
|
||||||
"@roots/sage": "^5.0.0",
|
"@roots/bud-eslint": "^5.1.0",
|
||||||
|
"@roots/bud-postcss": "^5.1.0",
|
||||||
|
"@roots/bud-prettier": "^5.1.0",
|
||||||
|
"@roots/bud-stylelint": "^5.1.0",
|
||||||
|
"@roots/bud-tailwindcss": "^5.1.0",
|
||||||
|
"@roots/sage": "^5.1.0",
|
||||||
"@wordpress/browserslist-config": "4.1.0",
|
"@wordpress/browserslist-config": "4.1.0",
|
||||||
"autoprefixer": "^10.4.2",
|
|
||||||
"eslint": "8.6.0",
|
"eslint": "8.6.0",
|
||||||
"postcss": "8.4.5",
|
"postcss": "8.4.5",
|
||||||
"postcss-import": "14.0.2",
|
"postcss-import": "14.0.2",
|
||||||
"postcss-nested": "5.0.6",
|
"postcss-nested": "5.0.6",
|
||||||
"postcss-preset-env": "7.2.3",
|
"postcss-preset-env": "7.1.0",
|
||||||
"prettier": "2.5.1",
|
|
||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "17.0.2",
|
||||||
"tailwindcss": "^3.0.13"
|
"tailwindcss": "3.0.8",
|
||||||
|
"prettier": "2.5.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user