Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
refactor(demo): Minor cleanup and refactoring (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
trimox authored Sep 14, 2017
1 parent 4c86c48 commit 74a626c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion config/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ module.exports = [{
}, {
loader: 'angular2-template-loader'
}],
exclude: [/\.(spec|e2e)\.ts$/]
}, {
test: /\.html$/,
loader: 'html-loader'
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import { TextfieldDemoComponent } from './components/textfield-demo/textfield-de
import { ToolbarDemoComponent } from './components/toolbar-demo/toolbar-demo.component';
import { TypographyDemoComponent } from './components/typography-demo/typography-demo.component';
import { TabDemoComponent, ItemOneContent, ItemTwoContent, ItemThreeContent } from './components/tab-demo/tab-demo.component';
import { NavbarComponent } from './components/navigation/navbar.component';

import { MaterialModule } from '../lib/public_api';

import { HomeComponent } from './components/home/home.component';
import { NavbarComponent } from './components/navigation/navbar.component';

import { demoAppRoutes } from './routes';

Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// import { enableProdMode } from '@angular/core';
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';

Expand Down
8 changes: 2 additions & 6 deletions src/demo-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
{
"compileOnSave": false,
"compilerOptions": {
"declaration": false,
"target": "es5",
"module": "es2015",
"moduleResolution": "node",
"lib": ["es2015", "dom"],
"lib": ["es2017", "dom"],
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noStrictGenericChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noEmitOnError": true,
"stripInternal": false,
"sourceMap": true,
"typeRoots": ["../../node_modules/@types"]
},
"files": [
"./app-module.ts",
"./main.ts"
],
"exclude": [
Expand Down

0 comments on commit 74a626c

Please sign in to comment.