mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
ui: Ensure encoder.js polyfill is available (#8094)
This commit is contained in:
parent
cdc249ec1a
commit
8c6b6b4f17
@ -85,6 +85,9 @@ module.exports = function(defaults) {
|
||||
// along with the exports of each module as its value.
|
||||
|
||||
// TextEncoder/Decoder polyfill. See assets/index.html
|
||||
app.import('node_modules/text-encoding/lib/encoding.js', {
|
||||
outputFile: 'assets/encoding.js',
|
||||
});
|
||||
app.import('node_modules/text-encoding/lib/encoding-indexes.js', {
|
||||
outputFile: 'assets/encoding-indexes.js',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user