Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit 8cfa473

Browse files
Add the example how to obfuscate and overwrite
1 parent 28502a6 commit 8cfa473

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,23 @@ grunt.initConfig({
112112
});
113113
```
114114

115+
#### Obfuscate and overwrite
116+
117+
In this example, source files are obfuscated and overwritten:
118+
119+
```js
120+
grunt.initConfig({
121+
javascript_obfuscator: {
122+
options: {
123+
/* Default options */
124+
},
125+
main: {
126+
src: ['src/module1.js', 'src/module2.js']
127+
}
128+
},
129+
});
130+
```
131+
115132
## Contributing
116133
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
117134

0 commit comments

Comments
 (0)