Skip to content

Commit

Permalink
update requirejs and switch to dart-sass
Browse files Browse the repository at this point in the history
This will hopefully speed up the build
and allows us to use requirejs' onNodeCreate for SRI on script tags
  • Loading branch information
thostetler committed Aug 20, 2021
1 parent 703ade5 commit 79f4d8f
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 1,027 deletions.
2 changes: 1 addition & 1 deletion grunt/aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ assets:

# CSS Processing
css:
- sass
- exec:sass
- autoprefixer

# Testing
Expand Down
4 changes: 4 additions & 0 deletions grunt/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ module.exports = {
submodule_init: {
cmd: 'git submodule update --init',
},
sass: {
cmd:
'./node_modules/.bin/sass --no-source-map src/styles/sass/manifest.scss src/styles/css/styles.css',
},
};
16 changes: 0 additions & 16 deletions grunt/sass.js

This file was deleted.

0 comments on commit 79f4d8f

Please sign in to comment.