Browse Source

Just import what we need

jsbundling-with-webpack-modernizr
baarkerlounger 3 years ago
parent
commit
224a8b20fc
  1. 2
      app/frontend/application.js

2
app/frontend/application.js

@ -3,7 +3,7 @@
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
require.context("govuk-frontend/govuk/assets")
import "core-js"
import "core-js/features/promise"
import "./styles/application.scss"
import "./controllers"

Loading…
Cancel
Save