generated from ecomplus/storefront-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstorefront.webpack.js
38 lines (36 loc) · 3.12 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
const path = require('path')
module.exports = () => ({
resolve: {
alias: {
'./base-config': path.resolve(__dirname, 'template/js/netlify-cms/base-config'),
'./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/ProductVariations.html': path.resolve(__dirname, 'template/js/custom-js/html/ProductVariations.html'),
'./js/ProductVariations.js': path.resolve(__dirname, 'template/js/custom-js/html/ProductVariations.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/InstantSearch.html': path.resolve(__dirname, 'template/js/custom-js/html/InstantSearch.html'),
'./js/InstantSearch.js': path.resolve(__dirname, 'template/js/custom-js/html/InstantSearch.js'),
'./html/ItemCustomizations.html': path.resolve(__dirname, 'template/js/custom-js/html/ItemCustomizations.html'),
'./html/AccountForm.html': path.resolve(__dirname, 'template/js/custom-js/html/AccountForm.html'),
'./js/AccountForm.js': path.resolve(__dirname, 'template/js/custom-js/html/AccountForm.js'),
// './html/APrices.html': path.resolve(__dirname, 'template/js/custom-js/html/APrices.html'),
// './html/CartItem.html': path.resolve(__dirname, 'template/js/custom-js/html/CartItem.html'),
// './html/TheCart.html': path.resolve(__dirname, 'template/js/custom-js/html/TheCart.html'),
// './html/EcSummary.html': path.resolve(__dirname, 'template/js/custom-js/html/EcSummary.html'),
// './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'),
'./html/TheCart.html': path.resolve(__dirname, 'template/js/custom-js/html/TheCart.html'),
'./html/EcCheckout.html': path.resolve(__dirname, 'template/js/custom-js/html/EcCheckout.html'),
'./js/EcCheckout.js': path.resolve(__dirname, 'template/js/custom-js/html/EcCheckout.js'),
'./html/PaymentMethods.html': path.resolve(__dirname, 'template/js/custom-js/html/PaymentMethods.html'),
'./App.vue': path.resolve(__dirname, 'template/js/custom-js/html/App.vue'),
}
}
})