Open benloh opened 3 months ago
The issue is related to terser
, an optimization plugin that is likely no longer conversant with modern javascript post 2016. This hasn't been updated in years.
Quick solution is to remove the terser field in brunch-config.js
and retest.
overrides: {
// env 'classroom' is set by npm start / npm run start
classroom: {
optimize: true,
sourceMaps: false,
plugins: {
autoReload: { enabled: false },
terser: {
ecma: 2016,
mangle: false
}
},
if it still doesn't work, try changing optimize
to false.
This change should allow the installation instructions for nc-multiplex to change back to using npm run classroom
to config, rather than npm run package
which is for standalone installations.
npm run classroom
is currently broken:Do we need to re-enable this for DO deployment? e.g. see README notes from nc-multiplex: