k-maru / grunt-typescript

MIT License
137 stars 60 forks source link

BasePath option has been deprecated #132

Closed tbhaxor closed 5 years ago

tbhaxor commented 5 years ago

The grunt config for typescript i am using is

"typescript": {
            "base": {
                "src": "./src/**/*.ts",
                "dest": "./dist",
                "options": {
                    "module": "commonjs",
                    "target": "es5",
                    "removeComments": true,
                    "watch": "./src/**/*.ts",
                    "basePath": "./src",
                }
            }
        },

And when i run grunt it says BasePath option has been deprecated ans asks me to re-set output directory with the new rootDir.

But when i set rootDir instead of basePath then my files are built in src directory

tbhaxor commented 5 years ago

I am closing this issue becoz no one is showing interest in it