Skip to content

Commit 275ce35

Browse files
author
Fatme
authored
Merge pull request #29 from NativeScript/fatme/fix-assing-to-readonly
fix: fix assigning the readonly require on global object
2 parents 1ab5255 + 67f0cb7 commit 275ce35

File tree

4 files changed

+1907
-246
lines changed

4 files changed

+1907
-246
lines changed

Gruntfile.js

+6-16
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,17 @@ module.exports = function(grunt) {
4040
pkg: grunt.file.readJSON("package.json"),
4141

4242
ts: {
43-
options: {
44-
passThrough: true,
45-
target: 'es6',
46-
module: 'commonjs',
47-
sourceMap: true,
48-
declaration: false,
49-
removeComments: false,
50-
noImplicitAny: false,
51-
experimentalDecorators: true,
52-
emitDecoratorMetadata: true,
53-
additionalFlags: "--noImplicitUseStrict"
54-
},
5543

5644
devlib: {
57-
src: ["**/*.ts", "!node_modules/**/*.ts"],
58-
reference: ".d.ts"
45+
tsconfig: {
46+
passThrough: true
47+
}
5948
},
6049

6150
release_build: {
62-
src: ["**/*.ts", "!node_modules/**/*.ts", "test/**/*.ts"],
63-
reference: ".d.ts",
51+
tsconfig: {
52+
passThrough: true
53+
},
6454
options: {
6555
sourceMap: false,
6656
removeComments: true

0 commit comments

Comments
 (0)