You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
In the following code from less-node.js, the line pEnv.NODE_ENV = productionEnv ? 'production' : 'development'; overwrites the actual environment such that commands like jspm run ... do not behave as expected. If the module being run imports plugin-less at any point, then NODE_ENV will always be 'production'.
I discovered this while working through a separate issue with server-side rendering when plugin-less (via css-plugin-base) attempts to inject into the DOM but document is not defined (of course).
The text was updated successfully, but these errors were encountered:
In the following code from
less-node.js
, the linepEnv.NODE_ENV = productionEnv ? 'production' : 'development';
overwrites the actual environment such that commands likejspm run ...
do not behave as expected. If the module being run imports plugin-less at any point, thenNODE_ENV
will always be'production'
.I discovered this while working through a separate issue with server-side rendering when plugin-less (via css-plugin-base) attempts to inject into the DOM but
document
is not defined (of course).The text was updated successfully, but these errors were encountered: