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
At minimum, I'm looking for a way to import CSS into index.html that could be rendered on build (i.e. sanitize.css from NPM or https://github.com/KyleAMathews/typefaces CSS package). Is there a way to do this and have it minified on build?
Is there a way to do the same with JavaScript AND have it run through Babel so that it's baked into HTML?
Thank you!
The text was updated successfully, but these errors were encountered:
Should anyone else wonder, I built my own precompile.js that modifies HTML as-needed and added it in package.json's scripts object like so: "start": "node precompile && react-scripts start". Done the same for the build step as well. Seeing how this isn't related to CRA after all, I'm gonna close this. Thanks!
index.html
that could be rendered on build (i.e.sanitize.css
from NPM or https://github.com/KyleAMathews/typefaces CSS package). Is there a way to do this and have it minified on build?Thank you!
The text was updated successfully, but these errors were encountered: