Created
October 18, 2016 23:10
-
-
Save patrickarlt/46bdf8bc22cb8b459402542a607d4641 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "commonjs", | |
"moduleResolution": "node", | |
"sourceMap": true, | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"removeComments": false, | |
"noImplicitAny": true, | |
"suppressImplicitAnyIndexErrors": true, | |
"typeRoots": [ "node_modules/@types/" ], | |
"types": [ "node", "jasmine", "core-js" ] | |
} | |
} |
This file contains hidden or 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
var path = require('path'); | |
module.exports = { | |
entry: { | |
root: './src/assets/js-es6/ng/apps/main.ts' | |
}, | |
devtool: 'source-map', | |
resolve: { | |
extensions: ['.ts', '.js', ''], | |
root: [ | |
path.resolve('./src') | |
] | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /\.js$/, | |
exclude: /(node_modules|bower_components)/, | |
loader: 'babel' | |
}, | |
{ | |
test: /\.ts$/, | |
exclude: /(node_modules|bower_components)/, | |
loaders: [ | |
'ts', | |
'angular2-router-loader?debug=true' | |
] | |
}, | |
{ | |
test: /\.html$/, | |
exclude: /(node_modules|bower_components)/, | |
loader: 'html' | |
}, | |
{ | |
test: /\.json$/, | |
exclude: /(node_modules|bower_components)/, | |
loader: 'json' | |
} | |
] | |
}, | |
output: { | |
path: path.join(__dirname, 'build', 'assets', 'js'), | |
sourceMapFilename: '[name].js.map', | |
filename: '[name].js', | |
chunkFilename: '[id].chunk.js', | |
publicPath: 'http://localhost:8080' | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolved. I commented the
types
option intsconfig.json
and also remove thedeclare global { ...
from thesrc/packages/logger/module.d.ts
file. And everything just work as it should. :)For more info read my repository: https://github.com/kasir-barati/you-say