Address build warning fixes.
This commit is contained in:
@@ -54,5 +54,11 @@ export default [
|
||||
format: 'es',
|
||||
},
|
||||
plugins: [...plugins],
|
||||
// These two files use this at the toplevel, which causes rollup warning
|
||||
// spam on build: `this` has been rewritten to `undefined`
|
||||
moduleContext: {
|
||||
'./node_modules/@formatjs/intl-utils/lib/src/diff.js': 'window',
|
||||
'./node_modules/@formatjs/intl-utils/lib/src/resolve-locale.js': 'window',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user