Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP feat(ngm): added npm-submodule build process #2

Closed
wants to merge 1 commit into from
Closed

WIP feat(ngm): added npm-submodule build process #2

wants to merge 1 commit into from

Conversation

valorkin
Copy link

No description provided.

"webpack"
],
"typeRoots": [
"../node_modules/@types"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does it need to do this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to replace tsd with @types was added typeRoots
microsoft/TypeScript#9184
to simplify declarations resolution

"compileOnSave": false,
"buildOnSave": false,
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does fork checker work for you? It never seems to actually update for me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one day it will work :)

@@ -7,7 +7,7 @@ import { DblClickCopyDirective } from './directives';
import { PipesModule } from './pipes';

import {
CalendarModule, CodemirrorModule, CodeHighlightModule,
CalendarModule, /*CodemirrorModule,*/ CodeHighlightModule,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can help code mirror to became AoT compatible too ;)
and than uncomment

@@ -22,7 +22,125 @@ const DATE_TIME_VALUE_ACCESSOR = {
@Component({
selector: 'swui-date-time',
providers: [DATE_TIME_VALUE_ACCESSOR],
template
template: `<div class="swui-date-time">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you bring this inline?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@angular/compiler-cli doesn't understand html imports and can not analyze them staticaly

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh ... I suppose thats why they have that custom dealie in the component defs :(

@amcdnl
Copy link
Contributor

amcdnl commented Jan 26, 2017

closing for now.

@amcdnl amcdnl closed this Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants