Skip to content

Commit

Permalink
fix(demo): remove angular-cli json file and add it in typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesabarnes committed Mar 24, 2019
1 parent 07f078d commit 15653d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 0 additions & 7 deletions demo/assets/stackblitz/.angular-cli.json

This file was deleted.

Expand Up @@ -9,7 +9,7 @@ const COPYRIGHT = `Copyright 2018 Bullhorn Inc. All Rights Reserved.
can be found in the LICENSE file at http://angular.io/license`;

const TEMPLATE_PATH = './assets/stackblitz/';
const TEMPLATE_FILES = ['index.html', 'styles.scss', 'polyfills.ts', '.angular-cli.json', 'main.ts'];
const TEMPLATE_FILES = ['index.html', 'styles.scss', 'polyfills.ts', 'main.ts'];

const TAGS: string[] = ['angular', 'bullhon', 'novo-elements', 'example'];
const angularVersion = '^7.2.0';
Expand Down Expand Up @@ -99,6 +99,11 @@ export class StackblitzWriter {
this._addFileToForm(form, data, decodeURIComponent(data.source.cssSource), `app/${data.selectorName}.css`, TEMPLATE_PATH),
),
);
exampleContents.push(
Promise.resolve(
this._addFileToForm(form, data, JSON.stringify({ apps: [{ styles: ['styles.scss'] }] }), `.angular-cli.json`, TEMPLATE_PATH),
),
);

// // TODO(josephperrott): Prevent including assets to be manually checked.
// if (data.selectorName === 'icon-svg-example') {
Expand Down

0 comments on commit 15653d3

Please sign in to comment.