Import .import.less files in package from outside of pacakge


#1

I have a file in a local package in

/packages/xxx/dist/global/mixins.import.less
/packages/xxx/dist/global/variables.import.less

I would like to import this from my style.less

but the path above will not work.

How can I acheive this?


#2

Is it with standard .less build plugin or some community based? (Such as Bootstrap etc)
Try with: @import "{xxx}/dist/..."; (of course the package should be added by meteor add xxx) also files should be added in package.js file


#3

@juliancwirko Thank you so much. This solved my problem. You’re a life savior!!