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 Jan 22, 2020. It is now read-only.
Trying to optimize dcos-ui build time I discovered that dist directory is missing from the build. When I tried to run npm run dist locally it would fail with
[10:30:43] Using gulpfile ~/workspace/cnvs/gulpfile.js
[10:30:43] Starting 'cnvs:styles'...
[10:30:52] Plumber found unhandled error:
TypeError in plugin "gulp-autoprefixer"
Message:
this is not a typed array.
Details:
fileName: /Users/dmitriy/workspace/cnvs/styles/cnvs.css
Stack:
TypeError: this is not a typed array.
at Function.from (native)
at /Users/dmitriy/workspace/cnvs/node_modules/gulp-autoprefixer/index.js:26:27
at process._tickCallback (node.js:369:9)
[10:30:52] Finished 'cnvs:styles' after 8.79 s
What I was trying to to is aggregating all the variables so we could import them while having the rest of the source code imported as css. Does it even make sense?
Thanks!
The text was updated successfully, but these errors were encountered:
Ah. Ok. So, you want the compiled styles as part of the package. To be honest, I wrote the package definition a didn't really know what I was doing. Maybe you have some suggestions as to how it could be better structured? What I wanted at the time, but didn't know how, was to have the package to have the following structure when you run npm install cnvs...
Hey @ashenden!
Trying to optimize dcos-ui build time I discovered that
dist
directory is missing from the build. When I tried to runnpm run dist
locally it would fail withWhat I was trying to to is aggregating all the variables so we could import them while having the rest of the source code imported as css. Does it even make sense?
Thanks!
The text was updated successfully, but these errors were encountered: