Compare commits

...

2 Commits

4 changed files with 557 additions and 259 deletions

View File

@ -6,7 +6,6 @@ pipeline:
build:
image: node:16
commands:
- apt update && apt install -y ruby ruby-dev && gem install sass
- npm install
- npm run grunt

View File

@ -4,7 +4,7 @@ module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
sass: {
'dart-sass': {
dist: {
options: {
style: 'compressed'
@ -69,7 +69,7 @@ module.exports = function(grunt) {
},
css: {
files: ['assets/sass/*.sass'],
tasks: ['sass'],
tasks: ['dart-sass'],
options: {
atBegin: true,
spawn: false
@ -96,12 +96,12 @@ module.exports = function(grunt) {
// Load task plugins
grunt.loadNpmTasks('grunt-twig-render');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-dart-sass');
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task(s).
grunt.registerTask('default', ['twigRender', 'sass', 'coffee', 'copy']);
grunt.registerTask('default', ['twigRender', 'dart-sass', 'coffee', 'copy']);
};

805
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,8 +25,8 @@
"grunt": "^1.5.3",
"grunt-contrib-coffee": "^2.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-sass": "^2.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-dart-sass": "^2.0.1",
"grunt-twig-render": "^1.8.3"
},
"dependencies": {