generated from ecomplus/storefront-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstorefront.webpack.js
39 lines (36 loc) · 2.88 KB
/
storefront.webpack.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// storefront.webpack.js
const path = require('path')
const dirSearchAlias = path.resolve(__dirname, 'template/js/lib/search-engine')
module.exports = () => ({
resolve: {
alias: {
'./methods/set-search-term': path.resolve(dirSearchAlias, 'set-search-term'),
'./base-config': path.resolve(__dirname, 'template/js/netlify-cms/base-config'),
'./html/CartQuickview.html': path.resolve(__dirname, 'template/js/custom-js/html/CartQuickview.html'),
'./js/CartQuickview.js': path.resolve(__dirname, 'template/js/custom-js/js/CartQuickview.js'),
'./html/APrices.html': path.resolve(__dirname, 'template/js/custom-js/html/APrices.html'),
'./html/AccountPoints.html': path.resolve(__dirname, 'template/js/custom-js/html/AccountPoints.html'),
'./html/ProductCard.html': path.resolve(__dirname, 'template/js/custom-js/html/ProductCard.html'),
'./js/ProductCard.js': path.resolve(__dirname, 'template/js/custom-js/js/ProductCard.js'),
'./html/DiscountApplier.html': path.resolve(__dirname, 'template/js/blow-gummies/html/DiscountApplier.html'),
'./js/DiscountApplier.js': path.resolve(__dirname, 'template/js/blow-gummies/js/DiscountApplier.js'),
'./html/ShippingCalculator.html': path.resolve(__dirname, 'template/js/custom-js/html/ShippingCalculator.html'),
'./js/ShippingCalculator.js': path.resolve(__dirname, 'template/js/custom-js/js/ShippingCalculator.js'),
'./html/EcSummary.html': path.resolve(__dirname, 'template/js/custom-js/html/EcSummary.html'),
'./html/LoginModal.html': path.resolve(__dirname, 'template/js/custom-js/html/LoginModal.html'),
'./js/EcSummary.js': path.resolve(__dirname, 'template/js/custom-js/js/EcSummary.js'),
'./html/TheCart.html': path.resolve(__dirname, 'template/js/custom-js/components/TheCart.html'),
'./js/TheCart.js': path.resolve(__dirname, 'template/js/custom-js/components/TheCart.js'),
'./js/TheProduct.js': path.resolve(__dirname, 'template/js/custom-js/components/TheProduct.js'),
'./js/TheAccount.js': path.resolve(__dirname, 'template/js/custom-js/components/TheAccount.js'),
'./html/TheProduct.html': path.resolve(__dirname, 'template/js/custom-js/components/TheProduct.html'),
'./html/EcCheckout.html': path.resolve(__dirname, 'template/js/custom-js/components/EcCheckout.html'),
'./js/EcCheckout.js': path.resolve(__dirname, 'template/js/custom-js/components/EcCheckout.js'),
'./js/Checkout.js': path.resolve(__dirname, 'template/js/custom-js/components/Checkout.js'),
'./Checkout.vue': path.resolve(__dirname, 'template/js/custom-js/components/Checkout.vue'),
'./js/InstantSearch.js': path.resolve(__dirname, 'template/js/custom-js/js/InstantSearch.js'),
'./js/SearchEngine.js': path.resolve(__dirname, 'template/js/custom-js/js/SearchEngine.js'),
'./persist-utm': path.resolve(__dirname, 'template/js/custom-js/persist-utm.js')
}
}
})