diff --git a/src/vector/index.html b/src/vector/index.html index 9f41e6c216..962de99d4a 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -61,7 +61,16 @@
- + +<% + // insert +<% + } + } +%> diff --git a/webpack.config.js b/webpack.config.js index 5df93113e8..f38a5caed0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -171,6 +171,17 @@ module.exports = (env, argv) => { enforce: true, // Do not add `chunks: 'all'` here because you'll break the app entry point. }, + + // put the unhomoglyph data in its own file. It contains + // magic characters which mess up line numbers in the + // javascript debugger. + unhomoglyph_data: { + name: "unhomoglyph_data", + test: /unhomoglyph\/data\.json$/, + enforce: true, + chunks: "all", + }, + default: { reuseExistingChunk: true, },