docs: include svg files in stackblitz and download examples (#31559)
Fixes #31537 PR Close #31559
This commit is contained in:
parent
19bc11139d
commit
40705f3366
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 32 KiB |
|
@ -82,7 +82,7 @@ class ExampleZipper {
|
|||
|
||||
const exampleDirName = path.dirname(configFileName);
|
||||
const outputFileName = path.join(outputDirName, relativeDirName, exampleZipName + '.zip');
|
||||
let defaultIncludes = ['**/*.ts', '**/*.js', '**/*.es6', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png'];
|
||||
let defaultIncludes = ['**/*.ts', '**/*.js', '**/*.es6', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png', '**/*.svg'];
|
||||
let alwaysIncludes = [
|
||||
'bs-config.json',
|
||||
'e2e/protractor.conf.js',
|
||||
|
|
|
@ -249,7 +249,7 @@ class StackblitzBuilder {
|
|||
throw new Error(`Stackblitz config - unable to parse json file: ${configFileName}\n${e}`);
|
||||
}
|
||||
|
||||
var defaultIncludes = ['**/*.ts', '**/*.js', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png'];
|
||||
var defaultIncludes = ['**/*.ts', '**/*.js', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png', '**/*.svg'];
|
||||
var boilerplateIncludes = ['src/environments/*.*', 'angular.json', 'src/polyfills.ts'];
|
||||
if (config.files) {
|
||||
if (config.files.length > 0) {
|
||||
|
|
Loading…
Reference in New Issue