When I @import "@mozaic-ds/styles/settings-tools/all-settings"; I have an error because the (1st line) @import '_tokens.scss'; doesn't work...
This require to configure includePaths of style loader in my project:
Vue.js : in sass entry of vue.config.js
Angular: stylePreprocessorOptions entry of angular.json
worse: use a plugin with side effects...
Do you have any solution to avoid this configuration?
For example merge @mozaic-ds/styles with @mozaic-ds/tokens, or in _all-settings.scss use @import '@mozaic-ds/tokens/build/scss/tokens';, ...
š¬ Steps to reproduce the issue
vue create -d hello-world
cd hello-world
npm install @mozaic-ds/styles
npm run serve
š Pattern bug report
Where did you experience this bug ?
Is this a regression?
No.
Description
When I
@import "@mozaic-ds/styles/settings-tools/all-settings";
I have an error because the (1st line)@import '_tokens.scss';
doesn't work... This require to configureincludePaths
of style loader in my project:sass
entry ofvue.config.js
stylePreprocessorOptions
entry ofangular.json
Do you have any solution to avoid this configuration? For example merge
@mozaic-ds/styles
with@mozaic-ds/tokens
, or in_all-settings.scss
use@import '@mozaic-ds/tokens/build/scss/tokens';
, ...š¬ Steps to reproduce the issue
set
<style>
inApp.vue
fileš· Screenshot (optional - it might be a gif) or Sketch file (if existing)
š„ Exception or Error
š Your Environment
Styleguide Version:
Anything else relevant?