@m00rl0ck/simple-builder 1.0.9 ā 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev-server.js +3 -1
- package/index.js +1 -1
- package/package.json +4 -1
package/dev-server.js
CHANGED
|
@@ -112,7 +112,9 @@ const server = http.createServer((req, res) => {
|
|
|
112
112
|
// ======================
|
|
113
113
|
|
|
114
114
|
function runServer({ isProd }) {
|
|
115
|
-
|
|
115
|
+
const watch = !isProd;
|
|
116
|
+
|
|
117
|
+
build({ watch, isProd });
|
|
116
118
|
|
|
117
119
|
server.listen(PORT, () => {
|
|
118
120
|
console.log(`\nš Dev server running: http://localhost:${PORT}\n`);
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m00rl0ck/simple-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Zero-dependency JS and CSS bundler with dev server and minifier",
|
|
5
|
+
"change-logs": {
|
|
6
|
+
"1.1.1": "Fix small bugs"
|
|
7
|
+
},
|
|
5
8
|
"type": "module",
|
|
6
9
|
"main": "index.js",
|
|
7
10
|
"bin": {
|