Use webpack to build JS for shortcode checkout #1584
Labels
status: needs confirmation
type: technical debt
This issue/PR represents/solves the technical debt of the project.
We currently use
uglify
to build the shortcode version of the required JavaScript for customers to checkout with Stripe. Since #1467 we now have awebpack
-based build system set up and ready to go so we should take advantage of that and migrate the shortcode checkout JS to thewebpack
-based build system.This will entail moving the js from
assets/js
toclient/shortcode
. As part of this we'll want to re-use and add API calls to theclient/api
module — the goal is to re-use as much code as possible between the blocks and shortcode versions of the JS.The text was updated successfully, but these errors were encountered: