@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on
12 lines (9 loc) • 327 B
JavaScript
const wp = require('@cypress/webpack-preprocessor')
module.exports = (on) => {
const options = {
webpackOptions: require('../webpack.config')
}
on('file:preprocessor', wp(options))
// Source: https://github.com/cypress-io/cypress/issues/3199
on('task', { log(message) { console.log(message); return null } })
}