mirror of https://github.com/hashicorp/consul
ui: Ensure encoder.js polyfill is available (#8094)
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…
Reference in New Issue