generated from ecomplus/storefront-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
storefront.webpack.js
55 lines (54 loc) · 4.59 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
const path = require('path')
const dirSearchAlias = path.resolve(__dirname, 'template/js/lib/search-engine')
const pathDslAlias = path.resolve(dirSearchAlias, 'dsl')
module.exports = () => ({
resolve: {
alias: {
'./lib/dsl': pathDslAlias,
'./../lib/dsl': pathDslAlias,
'../lib/dsl': pathDslAlias,
'./base-config': path.resolve(__dirname, 'template/js/netlify-cms/base-config'),
'./methods/set-search-term': path.resolve(dirSearchAlias, 'set-search-term'),
'./html/ProductCard.html': path.resolve(__dirname, 'template/js/custom-js/html/ProductCard.html'),
'./js/ProductCard.js': path.resolve(__dirname, 'template/js/custom-js/html/ProductCard.js'),
'./html/ProductGallery.html': path.resolve(__dirname, 'template/js/custom-js/html/ProductGallery.html'),
'./js/ProductGallery.js': path.resolve(__dirname, 'template/js/custom-js/html/ProductGallery.js'),
'./scss/ProductGallery.scss': path.resolve(__dirname, 'template/js/custom-js/html/ProductGallery.scss'),
'./html/TheProduct.html': path.resolve(__dirname, 'template/js/custom-js/html/TheProduct.html'),
'./js/TheProduct.js': path.resolve(__dirname, 'template/js/custom-js/html/TheProduct.js'),
'./html/SearchEngine.html': path.resolve(__dirname, 'template/js/custom-js/html/SearchEngine.html'),
'./js/SearchEngine.js': path.resolve(__dirname, 'template/js/custom-js/html/SearchEngine.js'),
'./html/CartItem.html': path.resolve(__dirname, 'template/js/custom-js/html/CartItem.html'),
'./js/CartItem.js': path.resolve(__dirname, 'template/js/custom-js/html/CartItem.js'),
'./html/AccountPoints.html': path.resolve(__dirname, 'template/js/custom-js/html/AccountPoints.html'),
'./js/AccountPoints.js': path.resolve(__dirname, 'template/js/custom-js/html/AccountPoints.js'),
'./js/TheAccount.js': path.resolve(__dirname, 'template/js/custom-js/html/TheAccount.js'),
'./html/TheAccount.html': path.resolve(__dirname, 'template/js/custom-js/html/TheAccount.html'),
'./html/LoginModal.html': path.resolve(__dirname, 'template/js/custom-js/html/LoginModal.html'),
'./js/LoginModal.js': path.resolve(__dirname, 'template/js/custom-js/html/LoginModal.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'),
'./html/EcSummary.html': path.resolve(__dirname, 'template/js/custom-js/components/EcSummary.html'),
'./Account.js': path.resolve(__dirname, 'template/js/custom-js/components/Account.js'),
'./Account.vue': path.resolve(__dirname, 'template/js/custom-js/components/Account.vue'),
'./js/EcSummary.js': path.resolve(__dirname, 'template/js/custom-js/components/EcSummary.js'),
'./html/QuantitySelector.html': path.resolve(__dirname, 'template/js/custom-js/html/QuantitySelector.html'),
'./js/QuantitySelector.js': path.resolve(__dirname, 'template/js/custom-js/html/QuantitySelector.js'),
'./html/CartQuickview.html': path.resolve(__dirname, 'template/js/custom-js/html/CartQuickview.html'),
'./js/CartQuickview.js': path.resolve(__dirname, 'template/js/custom-js/html/CartQuickview.js'),
'./js/PaymentMethods.js': path.resolve(__dirname, 'template/js/custom-js/components/PaymentMethods.js'),
'./html/APrices.html': path.resolve(__dirname, 'template/js/custom-js/components/APrices.html'),
'./js/APrices.js': path.resolve(__dirname, 'template/js/custom-js/components/APrices.js'),
'./html/LoginBlock.html': path.resolve(__dirname, 'template/js/custom-js/components/LoginBlock.html'),
'./js/LoginBlock.js': path.resolve(__dirname, 'template/js/custom-js/components/LoginBlock.js'),
'./html/ShippingLine.html': path.resolve(__dirname, 'template/js/custom-js/components/ShippingLine.html'),
'./html/ShippingCalculator.html': path.resolve(__dirname, 'template/js/custom-js/components/ShippingCalculator.html'),
'./js/ShippingLine.js': path.resolve(__dirname, 'template/js/custom-js/components/ShippingLine.js'),
'./js/ShippingCalculator.js': path.resolve(__dirname, 'template/js/custom-js/components/ShippingCalculator.js'),
'./html/PointsApplier.html': path.resolve(__dirname, 'template/js/custom-js/components/PointsApplier.html'),
'./js/PointsApplier.js': path.resolve(__dirname, 'template/js/custom-js/components/PointsApplier.js'),
'./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')
}
}
})