Git Product home page Git Product logo

Comments (11)

sanex3339 avatar sanex3339 commented on May 27, 2024

Any errors?

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

Also PR welcomed!

from webpack-obfuscator.

willin avatar willin commented on May 27, 2024

nothing, bundled app.js just like before...

from webpack-obfuscator.

dechoiliev avatar dechoiliev commented on May 27, 2024

Hi,

When i use with/without "webpack.optimize.UglifyJsPlugin()" is show this error:
Error: Cannot find module 'webpack-sources'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/webpack-obfuscator/index.js:2:100)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

from webpack-obfuscator.

dechoiliev avatar dechoiliev commented on May 27, 2024

I will change path to "webpack_source" folder where this folder exists.
In my case is in "webpack/node_modules/".
Finally is work, but is not great workaround.

Can you please in the next release fix this case?

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

PR welcomed

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

@willin you added app.js to the excluded files. Correct way is:

new JavaScriptObfuscator({
    rotateUnicodeArray: true
});

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

@dechoiliev cannot reproduce on latest webpack version.

from webpack-obfuscator.

dechoiliev avatar dechoiliev commented on May 27, 2024

My version is 3.6.0.

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

Still cannot reproduce. I need more detailed step-by-step guide how to reproduce this error.

from webpack-obfuscator.

dechoiliev avatar dechoiliev commented on May 27, 2024

The problem maybe only for my version in ubuntu system. When change the destination path in index.js:

var RawSource = require("webpack-sources").RawSource;
var SourceMapSource = require("webpack-sources").SourceMapSource;

the error never show again.

from webpack-obfuscator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.