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

  • 關於本站
  • 免責聲明