logo
  • 教程列表
  • SO官方文档
  • 与 Build Tools 集成
    • Browserify
    • WebPack
    • 浅
    • 吞
    • MSBuild
    • NuGet
    • 安装和配置 webpack 加载器
  1. StackOverflow 文档
  2. TypeScript 教程
  3. 与 Build Tools 集成
  4. 浅

浅

Created: November-22, 2018

安装

npm install grunt-ts

基本的 Gruntfile.js

module.exports = function(grunt) {
    grunt.initConfig({
        ts: {
            default : {
                src: ["**/*.ts", "!node_modules/**/*.ts"]
            }
        }
    });
    grunt.loadNpmTasks("grunt-ts");
    grunt.registerTask("default", ["ts"]);
};

更多细节: TypeStrong / grunt-ts

  • 吞
  • WebPack

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明