@m00rl0ck/simple-builder 1.1.0 ā 1.1.2
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/index.js +2 -2
- package/package.json +5 -1
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
|
|
122
|
+
console.log(`\nš Build started (${isProd ? 'production' : 'development'})`);
|
|
123
123
|
|
|
124
124
|
cleanDist();
|
|
125
125
|
ensureDir(DIST_DIR);
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
buildJS(isProd);
|
|
128
128
|
buildCSS(isProd);
|
|
129
129
|
buildHTML(isProd);
|
|
130
130
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m00rl0ck/simple-builder",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
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
|
+
},
|
|
5
9
|
"type": "module",
|
|
6
10
|
"main": "index.js",
|
|
7
11
|
"bin": {
|