@m00rl0ck/simple-builder 1.1.2 ā 1.6.9
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 +1 -3
- package/index.js +2 -2
- package/package.json +1 -5
package/dev-server.js
CHANGED
|
@@ -112,9 +112,7 @@ const server = http.createServer((req, res) => {
|
|
|
112
112
|
// ======================
|
|
113
113
|
|
|
114
114
|
function runServer({ isProd }) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
build({ watch, isProd });
|
|
115
|
+
build({ watch: true, isProd })
|
|
118
116
|
|
|
119
117
|
server.listen(PORT, () => {
|
|
120
118
|
console.log(`\nš Dev server running: http://localhost:${PORT}\n`);
|
package/index.js
CHANGED
|
@@ -119,12 +119,12 @@ export function build({ watch, isProd }) {
|
|
|
119
119
|
return watchBuild();
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
console.log(`\nš Build started (${isProd ? 'production' : 'development'
|
|
122
|
+
console.log(`\nš Build started (${isProd} ? 'production' : 'development')`);
|
|
123
123
|
|
|
124
124
|
cleanDist();
|
|
125
125
|
ensureDir(DIST_DIR);
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
devbuildJS(isProd);
|
|
128
128
|
buildCSS(isProd);
|
|
129
129
|
buildHTML(isProd);
|
|
130
130
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m00rl0ck/simple-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.9",
|
|
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
|
-
"1.1.2": "Fix: ternary console.log"
|
|
8
|
-
},
|
|
9
5
|
"type": "module",
|
|
10
6
|
"main": "index.js",
|
|
11
7
|
"bin": {
|