adding alias ChillThirdPartyAssets

This commit is contained in:
Mathieu Jaumotte 2021-08-19 15:45:29 +02:00
parent fd8f4a98c0
commit 9ac72a21d1
2 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<script>
import OnTheFly from 'ChillMainAssets/vuejs/_components/OnTheFly.vue';
import ButtonLocation from '../ButtonLocation.vue';
import ThirdPartyRenderBox from '../../../../../../../ChillThirdPartyBundle/Resources/public/vuejs/_components/ThirdPartyRenderbox.vue'
import ThirdPartyRenderBox from 'ChillThirdPartyAssets/vuejs/_components/ThirdPartyRenderbox.vue'
export default {
name: 'ResourceItem',

View File

@ -1,4 +1,9 @@
module.exports = function(encore, entries)
{
entries.push(__dirname + '/Resources/public/chill/index.js');
// Aliases are used when webpack is trying to resolve modules path
encore.addAliases({
ChillThirdPartyAssets: __dirname + '/Resources/public'
});
};