-
Notifications
You must be signed in to change notification settings - Fork 138
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
Webpack refactor #50
base: master
Are you sure you want to change the base?
Webpack refactor #50
Conversation
4e5d300
to
379017e
Compare
Should also strip the Object.defineProperty(exports, "__esModule", {
value: true
}); |
Done
emitting .json is now also implemented |
also, export statements aren't transformed. |
thats specific to typescript: https://www.typescriptlang.org/play?module=1#code/KYDwDg9gTgLgBAG2PAhnAvHAjAbiA |
acked |
Externals are inlined now: // 0: module.exports = require("worker_threads");
// 1: var tmp = __webpack_require__(0); ...
// 1 gets changed to:
import { MessageChannel, parentPort, Worker, workerData } from "worker_threads"; And import/export paths are properly resolved again for existing modules: |
🤔 is anything still blocking this pr? |
yeah there are a couple issues like creating multiple conflicting |
👌 |
my few cents: generate names like |
interestingly when enable the mangle option its cause an error 🤔 obfuscated.txt also it isnt unbundle files |
closes #6
closes #30
closes #33
closes #66
closes #68
closes #95
supersedes #31