Open
Description
What happened?
Changing js mixin does not trigger a rebuild in the webpack plugin.
It is also important to mention that even if I change some other file and it does trigger rebuild the mixin values do not change.
Actual Behavior:
It does not trigger rebuild or update the mixin.
Expected behavior:
It would retrigger build and update the values.
Version
4.5.0
Relevant log output
No response
Additional Context
For example, I have 2 files mixin.js
and app.st.css
which are imported inside my main javascript file.
app.st.css
:
@st-import MyMixin from "./mixin.js";
:global(html) {
-st-mixin: MyMixin
}
mixin.js
:
module.exports = () => {
return {
'background-color': 'red'
}
}
When I change the background color it does not trigger rebuild and change the html
tag.