relative pointing (#1879)

readme modify
start.sh and nom-build-all refactoring
change travis conf
update version of zone.js (fixes console error)
karma conf remove dist
add alias build
override tsconfig components build
This commit is contained in:
Eugenio Romano
2017-05-22 09:57:10 +01:00
committed by Eugenio Romano
parent d5f90a59f4
commit 075ee8a538
55 changed files with 815 additions and 258 deletions

View File

@@ -63,7 +63,7 @@ module.exports = {
},
{
test: /\.ts$/,
include: [helpers.root('app')],
include: [helpers.root('app'), helpers.root('../ng2-components')],
loader: [
'ts-loader',
'angular2-template-loader'
@@ -77,7 +77,7 @@ module.exports = {
},
{
test: /\.css$/,
exclude: helpers.root('app'),
exclude: [helpers.root('app'), helpers.root('../ng2-components')],
loader: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader?sourceMap'
@@ -85,7 +85,7 @@ module.exports = {
},
{
test: /\.css$/,
include: helpers.root('app'),
include: [helpers.root('app'), helpers.root('../ng2-components')],
loader: 'raw-loader'
},
{
@@ -157,6 +157,15 @@ module.exports = {
})
],
devServer: {
contentBase: helpers.root('dist'),
compress: true,
port: 3000,
historyApiFallback: true,
host: '0.0.0.0',
inline: true
},
node: {
fs: 'empty'
}