Closed lucj closed 10 years ago
yep, you're not specifying the project root. try:
obfuscator: {
files: [
'app.js',
'config/*.js',
'lib/*.js'
],
entry: 'app.js',
out: 'obfuscated.js',
strings: true,
root: __dirname
}
i'll update the docs soon
Thanks a lot, I'll check this. Le 20 déc. 2013 20:39, "Stephen Mathieson" notifications@github.com a écrit :
yep, you're not specifying the project root. try:
obfuscator: { files: [ 'app.js', 'config/.js', 'lib/.js' ], entry: 'app.js', out: 'obfuscated.js', strings: true, root: __dirname }
i'll update the docs soon
— Reply to this email directly or view it on GitHubhttps://github.com/stephenmathieson/node-obfuscator/issues/11#issuecomment-31035778 .
I use the following config for my obfuscator task:
but I got the following error when running
Running "obfuscator" task Warning: Invalid root directory Use --force to continue.
Any idea of this error message ?