mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 18:09:13 -04:00
- Removed links to the gov uk stylesheets
- Deleted /stylesheets folder - Removed sass build from gulpfile - Changed gov links to usa links - Changed other govuk styles, like breadcrumbs - Changed name of uk_components file to us_components - Fixed a few tests that broke on account of the changes
This commit is contained in:
24
gulpfile.js
24
gulpfile.js
@@ -145,29 +145,6 @@ const javascripts = () => {
|
||||
};
|
||||
|
||||
|
||||
const sass = () => {
|
||||
return src([
|
||||
paths.src + '/stylesheets/main*.scss',
|
||||
paths.src + '/stylesheets/print.scss'
|
||||
])
|
||||
.pipe(plugins.prettyerror())
|
||||
.pipe(plugins.sass.sync({
|
||||
includePaths: [
|
||||
paths.npm + 'govuk-elements-sass/public/sass/',
|
||||
paths.toolkit + 'stylesheets/',
|
||||
paths.govuk_frontend,
|
||||
paths.npm
|
||||
]
|
||||
}))
|
||||
.pipe(plugins.cssUrlAdjuster({
|
||||
replace: [staticPathMatcher, '/']
|
||||
}))
|
||||
// cssUrlAdjuster outputs uncompressed CSS so we need to perform the compression here
|
||||
.pipe(plugins.cleanCSS({ compatibility: '*' }))
|
||||
.pipe(dest(paths.dist + 'stylesheets/'))
|
||||
};
|
||||
|
||||
|
||||
// Copy images
|
||||
|
||||
const images = () => {
|
||||
@@ -243,7 +220,6 @@ const defaultTask = parallel(
|
||||
series(
|
||||
javascripts
|
||||
),
|
||||
sass,
|
||||
uswds.compile,
|
||||
uswds.copyAssets,
|
||||
copy.gtm
|
||||
|
||||
Reference in New Issue
Block a user