This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @description - webpack server configurations | |
* @author - huang.jian <hjj491229492@hotmail.com> | |
*/ | |
const convert = require('koa-connect'); | |
const history = require('connect-history-api-fallback'); | |
const proxy = require('http-proxy-middleware'); | |
module.exports = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "view", | |
"props": { | |
"classname": "app" | |
}, | |
"children": [ | |
{ | |
"type": "view", | |
"props": { | |
"classname": "header" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"**/*.js: "$(basename).ts" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( | |
(!oldHtml || newHtml.__html != oldHtml.__html) && | |
newHtml.__html !== dom.innerHTML | |
) { | |
dom.innerHTML = (newHtml && newHtml.__html) || ""; | |
} |
OlderNewer