|
|
|
|
@ -21,7 +21,6 @@ module.exports = { |
|
|
|
|
mixpanel: "./src/js/third_party/mixpanel-2-latest.js", |
|
|
|
|
sprite: glob('./src/icons/*.svg'), |
|
|
|
|
images: glob('./src/img/*.*'), |
|
|
|
|
imagesCertificates: glob('./src/img/user-certificates/*'), |
|
|
|
|
imagesGiftCertificates: glob('./src/img/gift-certificates/*'), |
|
|
|
|
imagesReviews: glob('./src/img/reviews/*'), |
|
|
|
|
fonts: glob('./src/fonts/*'), |
|
|
|
|
@ -94,21 +93,10 @@ module.exports = { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
test: /\.(png|gif|jpg|svg)$/, |
|
|
|
|
exclude: [path.resolve(__dirname, 'src/icons'), path.resolve(__dirname, 'src/img/user-certificates'), |
|
|
|
|
path.resolve(__dirname, 'src/img/gift-certificates'), path.resolve(__dirname, 'src/img/reviews'), |
|
|
|
|
path.resolve(__dirname, 'src/img/signed-user-certificates')], |
|
|
|
|
exclude: [path.resolve(__dirname, 'src/icons'), |
|
|
|
|
path.resolve(__dirname, 'src/img/gift-certificates'), path.resolve(__dirname, 'src/img/reviews')], |
|
|
|
|
loader: 'file-loader?name=[name].[ext]&outputPath=./img/' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
test: /\.(png|jpg)$/, |
|
|
|
|
include: path.resolve(__dirname, 'src/img/user-certificates'), |
|
|
|
|
loader: 'file-loader?name=[name].[ext]&outputPath=./img/user-certificates/' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
test: /\.(png|jpg)$/, |
|
|
|
|
include: path.resolve(__dirname, 'src/img/signed-user-certificates'), |
|
|
|
|
loader: 'file-loader?name=[name].[ext]&outputPath=./img/signed-user-certificates/' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
test: /\.(png|jpg)$/, |
|
|
|
|
include: path.resolve(__dirname, 'src/img/gift-certificates'), |
|
|
|
|
|