Adding es5 target per #954

This commit is contained in:
Francisco Hodge 2021-03-26 11:01:40 -04:00
parent 683327b701
commit 6135b11aef

View File

@ -27,6 +27,7 @@ const banner = `
module.exports = { module.exports = {
mode: "production", mode: "production",
entry: './src/lib/index.ts', entry: './src/lib/index.ts',
target: 'es5',
output: { output: {
filename: 'index.js', filename: 'index.js',
path: path.resolve(__dirname, 'build'), path: path.resolve(__dirname, 'build'),