我使用Meteor和Typescript。
我在ressource选项卡中看不到任何sourcemap。我选择.ts文件时所拥有的只有:module.exports = require("./index.js");
我的打字稿配置是:
{
"compilerOptions": {
"experimentalDecorators": true,
"module": "commonjs",
"target": "es5",
"isolatedModules": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"removeComments": false,
"noImplicitAny": false,
"sourceMap": true
},
"filesGlob": [
"client/**/*.ts",
"imports/**/*.ts",
"server/**/*.ts",
"typings/**/*.d.ts"
],
"exclude": [
"node_modules"
]
}
我使用Barbatus包编译typescript:
barbatus:typescript@0.4.0
barbatus:typescript-compiler@0.7.0
barbatus:typescript-runtime@0.1.2
我的环境配置是:
METEOR@1.4.0.1
node v4.2.3