Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change node-sass to dart-sass in example app. #206

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const styleRules = {

module.exports = [
js.configs.recommended,
{
ignores: ['example/public/**']
},
{
languageOptions: {
ecmaVersion: 2022,
Expand Down
6 changes: 3 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "node .",
"postinstall": "npm run build",
"build": "npm run build:sass && npm run build:js",
"build:sass": "mkdir -p public/stylesheets; node-sass assets/stylesheets/app.scss --output-style compressed public/stylesheets/application.css",
"build:sass": "mkdir -p public/stylesheets; sass -q -I . -s compressed --no-source-map assets/stylesheets/app.scss public/stylesheets/application.css",
"build:js": "mkdir -p public/javascripts; cat node_modules/govuk-frontend/govuk/all.js node_modules/hmpo-components/all.js assets/javascripts/*.js > public/javascripts/application.js"
},
"author": "HMPO",
Expand All @@ -23,7 +23,7 @@
"hmpo-i18n": "latest",
"hmpo-logger": "latest",
"hmpo-model": "latest",
"node-sass": "latest",
"nunjucks": "latest"
"nunjucks": "latest",
"sass": "latest"
}
}