generated from ecomplus/storefront-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
storefront.webpack.js
19 lines (18 loc) · 1.02 KB
/
storefront.webpack.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const path = require('path')
const dirSearchAlias = path.resolve(__dirname, 'template/js/lib/search-engine')
const pathDslAlias = path.resolve(dirSearchAlias, 'dsl')
module.exports = () => ({
resolve: {
alias: {
'./methods/set-search-term': path.resolve(dirSearchAlias, 'set-search-term'),
'./html/APrices.html': path.resolve(__dirname, 'template/js/html/APrices.html'),
'./js/APrices.js': path.resolve(__dirname, 'template/js/js/APrices.js'),
'./js/TheProduct.js': path.resolve(__dirname, 'template/js/js/TheProduct.js'),
'./js/PaymentMethods.js': path.resolve(__dirname, 'template/js/js/PaymentMethods.js'),
'./html/AddressForm.html': path.resolve(__dirname, 'template/js/html/AddressForm.html'),
'./js/AddressForm.js': path.resolve(__dirname, 'template/js/js/AddressForm.js'),
'./js/InputZipCode.js': path.resolve(__dirname, 'template/js/js/InputZipCode.js'),
'./js/ShippingCalculator.js': path.resolve(__dirname, 'template/js/js/ShippingCalculator.js')
}
}
})