modification assets

This commit is contained in:
Rudy Masson 2023-01-09 16:40:55 +01:00
parent 421b71ca11
commit 4cb5d11bd1
5 changed files with 31 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,10 +7,19 @@
"/build/app.js"
]
},
"fontawesome-js": {
"js": [
"/build/runtime.js",
"/build/fontawesome-js.js"
]
},
"adminStyle": {
"js": [
"/build/runtime.js",
"/build/adminStyle.js"
],
"css": [
"/build/adminStyle.css"
]
},
"frontStyle": {
@ -21,6 +30,12 @@
"css": [
"/build/frontStyle.css"
]
},
"fontawesome-style": {
"js": [
"/build/runtime.js",
"/build/fontawesome-style.js"
]
}
}
}

View File

@ -1,8 +1,11 @@
{
"build/app.js": "/build/app.js",
"build/fontawesome-js.js": "/build/fontawesome-js.js",
"build/adminStyle.css": "/build/adminStyle.css",
"build/adminStyle.js": "/build/adminStyle.js",
"build/frontStyle.css": "/build/frontStyle.css",
"build/frontStyle.js": "/build/frontStyle.js",
"build/fontawesome-style.js": "/build/fontawesome-style.js",
"build/runtime.js": "/build/runtime.js",
"build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-7a184a.js": "/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-7a184a.js"
}

View File

@ -21,10 +21,10 @@ Encore
* and one CSS file (e.g. app.css) if your JavaScript imports CSS.
*/
.addEntry('app', './assets/app.js')
.addEntry('app', './assets/js/_fontawesome.js')
.addEntry('fontawesome-js', './assets/js/_fontawesome.js')
.addEntry('adminStyle', './assets/styles/main.scss')
.addEntry('frontStyle', './assets/styles/front/front.scss')
.addEntry('frontStyle', './assets/styles/common/_fontawesome.scss')
.addEntry('fontawesome-style', './assets/styles/common/_fontawesome.scss')