diff --git a/webpack.config.js b/webpack.config.js index b4ffb63..f8a40a6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -2,6 +2,7 @@ // Modified work Copyright 2020, Trussworks, Inc. const path = require('path') +const { experiments } = require('webpack') const BUILD_DIR = path.resolve(__dirname, './dist') const APP_DIR = path.resolve(__dirname, './src') @@ -84,6 +85,9 @@ const config = { }, ], }, + experiments: { + topLevelAwait: true, + }, } module.exports = config