@x-govuk/govuk-eleventy-plugin 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-govuk/govuk-eleventy-plugin",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.1",
|
|
4
4
|
"description": "Write documentation using Markdown and publish it using GOV.UK styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"govuk",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@x-govuk/eslint-config": "^0.0.1",
|
|
84
84
|
"@x-govuk/govuk-eleventy-plugin": "file:./",
|
|
85
|
-
"np": "^
|
|
85
|
+
"np": "^11.0.0",
|
|
86
86
|
"prettier": "^3.1.0",
|
|
87
87
|
"stylelint": "^16.0.0",
|
|
88
88
|
"stylelint-config-gds": "^2.0.0",
|
|
@@ -22,7 +22,8 @@ export async function generateAssets(dir, options) {
|
|
|
22
22
|
let inputFile = await fs.readFile(inputFilePath)
|
|
23
23
|
|
|
24
24
|
// Update asset path to use configured path prefix
|
|
25
|
-
|
|
25
|
+
// Use POSIX forward slash path separator for generated SCSS
|
|
26
|
+
const assetPath = path.posix.join(options.pathPrefix, '/assets/')
|
|
26
27
|
inputFile = inputFile
|
|
27
28
|
.toString()
|
|
28
29
|
.replace(
|