load css using dynamic function

This commit is contained in:
Julien Fastré 2019-12-04 14:01:49 +01:00
parent 3055973b06
commit f875b41f07
3 changed files with 7 additions and 3 deletions

View File

@ -39,4 +39,5 @@ Master branch
=============
- better exception description when task workflow is not found ;
- load webpack config using a `configure` function ;

View File

@ -0,0 +1,3 @@
// this file loads all assets from the Chill task bundle
require('./sass/_task.scss');

View File

@ -1,3 +1,3 @@
// this file loads all assets from the Chill task bundle
require('./Resources/public/sass/_task.scss');
module.exports = function(encore, entries) {
entries.push(__dirname + '/Resources/public/index.js');
};