-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run locally for modifications #42
Comments
Yeah, I know this issue. I'm not sure what causes it though. Using uglifyify used to solve this, I think because of dead code elimination, but maybe not anymore? This is part of |
Uh, look like I removed uglifyify from |
Sure, and each time it was mistake in build configuration. For example, |
After looking a bit more into the generated files, it seems that Not sure why it is not defined in |
How do you reprodue this? I just ran esprima_ast_explorer locally, using Does updating to the latest partition-bundle help? 2.2.0 fixed some problems with deduped modules. |
Looks like I'm already using 2.2.1. I'm using
It looks like there are two The are quite a few modules in loadjs.d("322",function(require,module,exports){
// 19.1.3.1 Object.assign(target, source)
var $def = require('./$.def');
$def($def.S + $def.F, 'Object', {assign: require('./$.assign')});
},{"./$.assign":209,"./$.def":218}); but I guess reusing the same (relative) module name shouldn't matter? |
I'll check if using webpack would solve this. |
@fkling Yes please! Currently scripts section using combination of browserify with some NIX-specific things so that I couldn't even contribute from own Windows machine despite this being a JS project :( |
I switched to webpack in 89db32f. It seems to work well so far. Let me know how it works for you. |
Still seeing a bunch of webpack warnings on build (like, trying to |
Yeah, I didn't figure out where it would try to load an |
Tried to build & run locally, but got:
TypeError: $def is not a function
in browser console in following context:The text was updated successfully, but these errors were encountered: