File tree Expand file tree Collapse file tree 1 file changed +35
-3
lines changed
packages/documentation/copy/en/project-config Expand file tree Collapse file tree 1 file changed +35
-3
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,15 @@ More details: [smrq/tsify](https://github.com/smrq/tsify)
74
74
75
75
## Grunt
76
76
77
- ### Install
77
+ ### Using ` grunt-ts ` (no longer maintained)
78
+
79
+ #### Install
78
80
79
81
``` sh
80
- npm install grunt-ts
82
+ npm install grunt-ts --save-dev
81
83
```
82
84
83
- ### Basic Gruntfile.js
85
+ #### Basic Gruntfile.js
84
86
85
87
``` js
86
88
module .exports = function (grunt ) {
@@ -98,6 +100,36 @@ module.exports = function (grunt) {
98
100
99
101
More details: [ TypeStrong/grunt-ts] ( https://github.com/TypeStrong/grunt-ts )
100
102
103
+ ### Using ` grunt-browserify ` combined with ` tsify `
104
+
105
+ #### Install
106
+
107
+ ``` sh
108
+ npm install grunt-browserify tsify --save-dev
109
+ ```
110
+
111
+ #### Basic Gruntfile.js
112
+
113
+ ``` js
114
+ module .exports = function (grunt ) {
115
+ grunt .initConfig ({
116
+ browserify: {
117
+ all: {
118
+ src: " src/main.ts" ,
119
+ dest: " dist/main.js" ,
120
+ options: {
121
+ plugin: [" tsify" ],
122
+ },
123
+ },
124
+ },
125
+ });
126
+ grunt .loadNpmTasks (" grunt-browserify" );
127
+ grunt .registerTask (" default" , [" browserify" ]);
128
+ };
129
+ ```
130
+
131
+ More details: [ jmreidy/grunt-browserify] ( https://github.com/jmreidy/grunt-browserify ) , [ TypeStrong/tsify] ( https://github.com/TypeStrong/tsify )
132
+
101
133
## Gulp
102
134
103
135
### Install
You can’t perform that action at this time.
0 commit comments