-
Notifications
You must be signed in to change notification settings - Fork 4
WIP:Webpack4 #22
WIP:Webpack4 #22
Conversation
| "@babel/cli": "7.1.5", | ||
| "@babel/core": "7.1.5", | ||
| "@babel/plugin-proposal-class-properties": "7.1.0", | ||
| "@babel/plugin-proposal-object-rest-spread": "7.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you still need this? even if babel needs it, isn't this covered by tsc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% but I am using Babel 7 to compile the ts now and not tsc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's talk about that tomorrow. Why would you use an abstraction of ts to compile ts?
| "version": "2.0.0", | ||
| "description": "Simple React Hot Loading example with Hapi Server-side rendering", | ||
| "engines": { | ||
| "node": ">=8.9.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "node": ">=8.9.1" | |
| "node": ">=10.11.0" |
| } | ||
|
|
||
| public async startServer(): Promise<void> { | ||
| process.on('unhandledRejection', (err) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing arg type?
| process.on('unhandledRejection', (err) => { | |
| process.on('unhandledRejection', (err: Error) => { |
|
|
||
| public async startServer(): Promise<void> { | ||
| process.on('unhandledRejection', (err) => { | ||
| console.log(err); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| console.log(err); | |
| console.error(err); |
| class ProviderUtility { | ||
|
|
||
| public static createProviderStore(initialState: any = {}, history: History = null, isServerSide: boolean = false): ISagaStore<IStore> { | ||
| public static createProviderStore(initialState: any = {}, history: History = null, isServerSide: boolean = false): ISagaStore { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public static createProviderStore(initialState: any = {}, history: History = null, isServerSide: boolean = false): ISagaStore { | |
| public static createProviderStore(initialState: object = {}, history: History = null, isServerSide: boolean = false): ISagaStore { |
No description provided.