Skip to content

Commit ffec536

Browse files
committed
feat: add bundler configs
Added the config files for webpack and crammit.
1 parent 8a279d1 commit ffec536

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

crammit.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
output: dist
2+
fingerprint: false
3+
4+
css:
5+
bundle:
6+
- style/src/*.css

webpack.config.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
entry: [
3+
"./js/src/init.js",
4+
"./js/src/alerter.js",
5+
"./js/src/controls.js",
6+
"./js/src/map.js",
7+
"./js/src/markers.js",
8+
"./js/src/objects.js",
9+
"./js/src/socket.js",
10+
"./js/src/utils.js",
11+
],
12+
output: {
13+
filename: "bundle.js"
14+
}
15+
};

0 commit comments

Comments
 (0)