Hi!
Yes.
yarn v1.22.19
node v16.17.0
An this is this the package.json
{
"name": "radicle",
"private": true,
"browserslist": [
"extends @roots/browserslist-config"
],
"engines": {
"node": ">=16.0.0"
},
"type": "module",
"scripts": {
"build": "yarn bud build production",
"dev": "yarn bud build development",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint resources/scripts",
"lint:css": "stylelint \"resources/**/*.{css,scss,vue}\"",
"test": "yarn lint",
"translate": "yarn translate:pot && yarn translate:update",
"translate:pot": "wp i18n make-pot . ./resources/lang/radicle.pot --include=\"app,config,resources,public/dist/js\"",
"translate:update": "wp i18n update-po ./resources/lang/radicle.pot ./resources/lang/*.po",
"translate:compile": "yarn translate:mo && yarn translate:js",
"translate:js": "wp i18n make-json ./resources/lang --pretty-print",
"translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang"
},
"devDependencies": {
"@playwright/test": "1.38.0",
"@popperjs/core": "^2.11.8",
"@roots/bud": "^6.17.0",
"@roots/bud-eslint": "^6.17.0",
"@roots/bud-imagemin": "^6.17.0",
"@roots/bud-preset-wordpress": "^6.17.0",
"@roots/bud-prettier": "^6.17.0",
"@roots/bud-sass": "^6.17.0",
"@roots/bud-stylelint": "^6.17.0",
"@roots/bud-swc": "^6.17.0",
"@roots/eslint-config": "^6.17.0",
"@roots/sage": "^6.17.0",
"@types/alpinejs": "^3.7.1",
"@types/wordpress__block-editor": "11.5.3",
"@types/wordpress__blocks": "12.5.3",
"bootstrap": "^5.3.2",
"typescript": "5.2.2"
},
"dependencies": {
"@roots/wordpress-hmr": "6.16.1",
"alpinejs": "3.13.0"
}
}
BTW: I replaces tailwind with bootstrap adding
@import 'bootstrap/scss/bootstrap';
to app.scss
Each time I run yarn build this changes to
@import url('bootstrap/scss/bootstrap');
resulting in
│ │ Module build failed (from ../node_modules/postcss-loader/dist/cjs.js):
│ │ Error: Failed to find 'bootstrap/scss/bootstrap'
│ │ in [
│ │ resources/styles
│ │ ]
│ │ at node_modules/postcss-import/lib/resolve-id.js:35:13
│ │ at async LazyResult.runAsync (node_modules/postcss/lib/lazy-result.js:261:11)
│ │ at async Object.loader (node_modules/postcss-loader/dist/index.js:84:14)
Any idea what this could be related to?
Thanks!