File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,11 @@ async function validateHTML() {
7373/**
7474 * Copy CSS from dist into the documentation directory
7575 */
76- function copyCSS ( ) {
76+ async function copyCSS ( ) {
77+ await mkdir ( 'dist/app/stylesheets' , {
78+ recursive : true
79+ } )
80+
7781 return gulp
7882 . src ( 'dist/*.min.{css,css.map}' )
7983 . pipe ( gulp . dest ( 'dist/app/stylesheets' ) )
@@ -83,7 +87,11 @@ function copyCSS() {
8387/**
8488 * Copy JS from dist into the documentation directory
8589 */
86- function copyJS ( ) {
90+ async function copyJS ( ) {
91+ await mkdir ( 'dist/app/javascripts' , {
92+ recursive : true
93+ } )
94+
8795 return gulp
8896 . src ( 'dist/*.min.{js,js.map}' )
8997 . pipe ( gulp . dest ( 'dist/app/javascripts' ) )
@@ -93,7 +101,11 @@ function copyJS() {
93101/**
94102 * Copy logos, icons and other binary assets
95103 */
96- function copyBinaryAssets ( ) {
104+ async function copyBinaryAssets ( ) {
105+ await mkdir ( 'dist/app/assets' , {
106+ recursive : true
107+ } )
108+
97109 return gulp
98110 . src ( 'packages/assets/**' , { encoding : false } )
99111 . pipe ( gulp . dest ( 'dist/app/assets' ) )
You can’t perform that action at this time.
0 commit comments