i have a fresh install of vscode on ubuntu 20.10 I have installed npm and nodejs by apt-get. i install adobe XD extension, il create a new package. I start editing,add a simple token and i stop editing Vscode say (install style-dictionary by nmp) i run a terminal and i write npm -i style-dictionary I restrat editing and stop for run compiling. I have nothing in dist. The file config.js is empty
I have test this installation in windows and i have a config.js not empty and a css directory wwith the good file.
Do you have idea.
In windows, the npm has installed in ../../styledictionary , i have tested but nothing.
thanks for your regards
Edit: i have fund a solution for waiting.
in the directory of package ../dist/styledictionnary yarn add style-dictionary --dev
cretae config.json in ../dist/styledictionnary
{
"source": ["properties/**/*.json"],
"platforms": {
"scss": {
"transformGroup": "scss",
"buildPath": "build/scss/",
"files": [{
"destination": "_variables.scss",
"format": "scss/variables"
}]
},
"css": {
"transformGroup": "css",
"buildPath": "build/css/",
"files": [{
"destination": "_variables.css",
"format": "css/variables"
}]
}
}
}
and compil by yarn style-dictionary build
question from:https://stackoverflow.com/questions/65870548/adobe-xd-extension-for-visual-studio-code-dont-compile-on-linux-os