dr-static-assets
Files get deployed to S3 "dr-static-assets-env" bucket
You can run npm run images
to be able to see all the images in your browser at once!
They are accessible through these URLs:
https://dev.shop.dealer.com/static/folder/filename
https://qa.shop.dealer.com/static/folder/filename
https://shop.dealer.com/static/folder/filename
where folder is the folder in this repository
Local Development
-
Download resource-override for chrome
https://chrome.google.com/webstore/detail/resource-override/pkoacgokdfckfpndoffpifphamojphii -
Load the resource_override_rules.json by clicking the 'Options' button on the Resource Override page
-
Run npm start after cloning this repository.
** Note for new SVGs You must install 'svgo' and run it to compress the SVG https://github.com/svg/svgo
- $ [sudo] npm install -g svgo
- svgo test.svg