@ -2,6 +2,7 @@
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
require("@babel/polyfill")
require.context('govuk-frontend/govuk/assets')
import '../styles/application.scss'
@ -21,7 +21,10 @@ module.exports = function(api) {
'@babel/preset-env',
{
targets: {
node: 'current'
node: 'current',
browsers: [
'ie >= 10'
]
}
],
@ -32,7 +35,13 @@ module.exports = function(api) {
useBuiltIns: 'entry',
corejs: 3,
modules: false,
exclude: ['transform-typeof-symbol']
exclude: ['transform-typeof-symbol'],
].filter(Boolean),
@ -6,6 +6,7 @@
},
"dependencies": {
"@activeadmin/activeadmin": "^2.9.0",
"@babel/polyfill": "^7.12.1",
"@hotwired/stimulus": "^3.0.0",
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
"@hotwired/turbo": "^7.1.0",