wix-incubator / stylable-integration

Integrating Stylable into your project
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

new st.css file breaks webpack and requires re-run #15

Open DeDuckProject opened 7 years ago

DeDuckProject commented 7 years ago

doing this:

:import{
    -st-from: "./dimens.st.css";
    -st-named: radius,margin;
}

but without dimens.st.css existing yet. I get this ERROR in Error: ENOENT: no such file or directory, stat '/Users/yiftachy/projects/core-3/wixplosives/auto-views/src/theme/dimens.st.css' "/Users/yiftachy/projects/core-3/wixplosives/auto-views/src/theme/dimens.st.css" webpack: Failed to compile.

creating the correct file still doesn't result in reload, and I need to do yarn start for it to work