Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
7 lines
496 B
Plaintext
7 lines
496 B
Plaintext
// useMessageFormatter is deprecated, but has a large dependency on intl-messageformat
|
|
// that we want to avoid. If it is built into the same file as the rest of the package,
|
|
// it deopts tree shaking in Parcel even when unused. Instead, it is split into a separate
|
|
// file and re-exported here, which allows tree shaking to work properly.
|
|
module.exports = require('./real-main.js');
|
|
Object.defineProperties(module.exports, Object.getOwnPropertyDescriptors(require('./useMessageFormatter.js')));
|