-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
33 lines (31 loc) · 1.16 KB
/
webpack.config.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
const path = require("path");
module.exports = {
mode: "production",
entry: {
main: [
"./src/js/js_scripts/bar-loader.js",
"./src/js/js_scripts/age_verification_main.js",
"./src/js/js_scripts/visual_activators.js",
"./src/js/js_scripts/hovered-links-footer.js",
"./src/js/js_scripts/network_worker.js",
"./src/js/js_scripts/main_styler.js",
"./src/js/js_scripts/burger_menu.js",
"./src/js/js_scripts/walgreen-redirect.js",
"./src/js/js_scripts/top_page_presentation_gsap.js"
],
user_agreement: [
"./src/js/js_scripts/bar-loader.js",
"./src/js/js_scripts/check_if_age_confirmed.js",
"./src/js/js_scripts/visual_activators.js",
"./src/js/js_scripts/hovered-links-footer.js",
"./src/js/js_scripts/burger_menu.js",
"./src/js/js_scripts/agreement_redirect.js",
"./src/js/js_scripts/legal_gsap_animation.js"
]
},
output: {
filename: 'bundled_[name].js',
path: path.resolve(__dirname, 'dist/js/js_scripts'),
}
};
// npx webpack to run