Basically, I want to have a partial called _variables.scss for production and _variables-test.scss for testing. I need to set a path variable for font-awesome that will be different in production than when simply testing using "grunt serve" because the production app will have an extra path element. So for production the path would be "/distribution/fonts" where testing would simply be "/fonts".
Using compass in a grunt build is it possible to compile a different set of sass files depending on if running compass:server vs compass:dist?
121 Views Asked by Patrick Grimard At
1
There are 1 best solutions below
Related Questions in GRUNTJS
- Failed to instantiate module ui-bootstrap for Angular after grunt serve
- Deploy Grunt on Vercel
- Grunt Handlebars partials name modification issue
- How do I create an entry point for my webpack.config.js in Angualr js
- Grunt project works when accessed from VSCode, but when deployed to Vercel, doesn't load JavaScript
- Grunt >> ReferenceError: primordials is not defined
- Not able to compile .less Magento 2.4.6-p2
- Warning: Uglification failed. Unexpected token: punc «:», expected: punc «,»
- Why does installing grunt(npm install grunt --save-dev) into my project stops in between and doesn't make any chnages to package.json?
- Throws SyntaxError while trying to run grunt build --env=devel --platform=android --crosswalk=false
- How can I include some specific css file in the prod grunt file?
- grunt-contrib-copy stops with EEXIST error
- Unable to install grunt in Windows 11 npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
- Mock a function called by child process in Jest
- Im new to laravel and trying to run an existing laravel project, when I run npm install so much "npm WARN deprecated" message appear
Related Questions in FONT-AWESOME
- How to center fontawesome icons in a div?
- Having issues with getting font-awesome to be included in Vue.js
- Icons of Font Awesome don't change
- font-awesome-pro-sass gem's fa-regular-400 and fa-solid-900 files are larger in size ( ~400kb)
- Cannot create a FontAwesome.Sharp IconImage instance for a WPF window instantiated from XamlReader::Load in PowerShell
- FontAwesome Icons displays as white on iPad instead of Black as on other platforms making them almost invisible
- Cannot find module or its corresponding type declarations when importing font awesome pro icons
- Insert a component into a string in React Native
- Font Awesome 6 caret not showing
- Fontawesome with AndroidStudio
- Webpack unable to load FontAwesome Kit (6.x) via NPM into JS of App?
- Unable to use Custom Font
- Render icon and text together from server in Shiny
- psuedo-element in CSS is not showing on the page although the class is correct. This using React, CSS and a Font Awesome icon
- How do I find the Unicode value for a FontAwesome icon?
Related Questions in GRUNT-CONTRIB-COPY
- grunt-contrib-copy stops with EEXIST error
- How to use grunt to copy a series of files to the same directory they come from?
- Why it says Task "speak" not found. Use --force to continue
- Gruntfile.js Warning: The "path" argument must be of type string. Received type object Use --force to continue
- grunt task copy failing to write the file in the destination
- Is there a way to move MD file in a TypeScript project to the compiled JS version of the project?
- Grunt copy plugin not able to configure
- Grunt loop for copy task, but copying only last file
- Grunt-Contrib-Copy, how to copy contents of a directory keeping the same folder structure without overwriting existing files/folders in dest folder?
- grunt-contrib-copy task is not copying
- grunt copy part of a sorted directory
- Grunt watch to fire different tasks in different environments
- grunt-contrib-copy is corrupting binary files
- grunt-contrib-copy - Copy HTML file from ROOT to DIST folder with different assets path
- extra c: added to destination path on windows ((Error code: ENOENT))
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to the docs of grunt-contrib-compass you can define different font folders by setting
fontDirin a task config.