cleaning up the PR and fixing tests

This commit is contained in:
Rob Larsen
2023-09-05 19:50:06 +00:00
committed by Rob Larsen
parent 22d800ad31
commit 17f1e1b3cd
6 changed files with 13 additions and 0 deletions

0
dist/js/vendor/.gitkeep vendored Normal file
View File

View File

@@ -13,6 +13,7 @@ module.exports = merge(common, {
patterns: [
{ from: 'img', to: 'img' },
{ from: 'css', to: 'css' },
{ from: 'js/vendor', to: 'js/vendor' },
{ from: 'icon.svg', to: 'icon.svg'},
{ from: 'favicon.ico', to: 'favicon.ico'},
{ from: 'tile-wide.png', to: 'tile-wide.png'},

View File

@@ -10,3 +10,7 @@ Information about the default JavaScript included in the project.
This file can be used to contain or reference your site/app JavaScript code. If
you're working on something more advanced you might replace this file entirely.
That's cool.
## vendor
This directory can be used to contain all third-party library code.

View File

@@ -36,6 +36,7 @@ A basic HTML5 Boilerplate site initially looks something like this:
├── img
├── js
│ ├── app.js
└── vendor
├── .editorconfig
├── 404.html
├── favicon.ico
@@ -151,6 +152,7 @@ It copies the following files and folders to the dist folder:
* css
* img
* js/vendor
* 404.html
* favicon.ico
* icon.png
@@ -160,3 +162,6 @@ It copies the following files and folders to the dist folder:
* site.webmanifest
* tile.png
* tile-wide.png
`js/vendor` is copied over in order to allow you to use unprocessed JS files
in addition to the files bundled based on the project's entry point `app.js.`

View File

@@ -13,6 +13,7 @@ module.exports = merge(common, {
patterns: [
{ from: 'img', to: 'img' },
{ from: 'css', to: 'css' },
{ from: 'js/vendor', to: 'js/vendor' },
{ from: 'icon.svg', to: 'icon.svg'},
{ from: 'favicon.ico', to: 'favicon.ico'},
{ from: 'tile-wide.png', to: 'tile-wide.png'},

View File

@@ -39,6 +39,8 @@ const expectedFilesInDistDir = [
'js/',
'js/app.js',
'js/vendor/',
'js/vendor/.gitkeep',
'LICENSE.txt',
'robots.txt',
'site.webmanifest',