update the way the bundle load assets

We use now the standard way to load assets.

See [CHANGELOG.md](CHANGELOG.md) for details.
This commit is contained in:
Julien Fastré 2020-04-23 00:10:27 +02:00
parent 2422fb2ead
commit 9ccb5292ee
3 changed files with 15 additions and 4 deletions

10
CHANGELOG.md Normal file
View File

@ -0,0 +1,10 @@
Branch sf3
==========
- fix the way the bundle compile assets ;
This modification will require to update Chill-Standard to the latest version.
At least, the file `webpack.config.js` should be upgrade [to the last
version](https://framagit.org/Chill-project/Chill-Standard/-/blob/c7a7de68ec49d97c9e1481b72c1f848f9b5cb2d7/webpack.config.js)

View File

@ -0,0 +1 @@
require('./css/chillevent.css');

View File

@ -1,4 +1,4 @@
// this file loads all assets from the Chill event bundle
// css
require('./Resources/public/css/chillevent.css');
// this file loads all assets from the Chill Event Bundle
module.exports = function(encore, entries) {
entries.push(__dirname + '/Resources/public/index.js');
};