@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 CHANGED
@@ -112,7 +112,9 @@ const server = http.createServer((req, res) => {
112
112
  // ======================
113
113
 
114
114
  function runServer({ isProd }) {
115
- build({ watch: true, isProd })
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
@@ -124,7 +124,7 @@ export function build({ watch, isProd }) {
124
124
  cleanDist();
125
125
  ensureDir(DIST_DIR);
126
126
 
127
- devbuildJS(isProd);
127
+ buildJS(isProd);
128
128
  buildCSS(isProd);
129
129
  buildHTML(isProd);
130
130
 
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@m00rl0ck/simple-builder",
3
- "version": "1.0.9",
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": {