separate scratch from chill entrypoint, and move it into a specific module

This commit is contained in:
2021-03-20 23:06:09 +01:00
parent 0a0895584c
commit 6bcdbaf668
133 changed files with 50 additions and 49 deletions

View File

@@ -45,13 +45,14 @@ module.exports = function(encore, entries)
// Add new separate entrypoints
encore
.addEntry('scratch', __dirname + '/Resources/public/modules/scratch/index.js')
.addEntry('login', __dirname + '/Resources/public/modules/login_page/index.js')
.addEntry('tabs', __dirname + '/Resources/public/modules/tabs/index.js')
;
// Aliases are used when webpack is trying to resolve modules (sass, typescript)
// Aliases are used when webpack is trying to resolve modules path
encore.addAliases({
ChillMainSass: __dirname + '/Resources/public/sass',
ChillMainSass: __dirname + '/Resources/public/modules/scratch',
ShowHide: __dirname + '/Resources/public/modules/show_hide'
});