i was setting up ternjs for a new project that i inherited at work, but it was having trouble parsing
some of my webpack config for the webpack plugin because of some ESnext syntax that is unsupported by acorn. i had no idea what was actually failing, so i added some logging for the uncaught exception stacktrace from a worker. this helped me pinpoint what the unsupported configuration was so that i figure out what actually to do with the "bad" code.
i was setting up ternjs for a new project that i inherited at work, but it was having trouble parsing some of my webpack config for the webpack plugin because of some ESnext syntax that is unsupported by acorn. i had no idea what was actually failing, so i added some logging for the uncaught exception stacktrace from a worker. this helped me pinpoint what the unsupported configuration was so that i figure out what actually to do with the "bad" code.