diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..9dd73d13f --- /dev/null +++ b/CHANGELOG.md @@ -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) + diff --git a/Resources/public/index.js b/Resources/public/index.js new file mode 100644 index 000000000..697693c59 --- /dev/null +++ b/Resources/public/index.js @@ -0,0 +1 @@ +require('./css/chillevent.css'); \ No newline at end of file diff --git a/chill.webpack.config.js b/chill.webpack.config.js index b7cd46970..a194522ad 100644 --- a/chill.webpack.config.js +++ b/chill.webpack.config.js @@ -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'); +}; \ No newline at end of file