poops 1.0.13 → 1.0.15

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/README.md CHANGED
@@ -27,16 +27,14 @@ It uses a simple config file where you define your input and output paths and it
27
27
 
28
28
  * Bundles SCSS/SASS to CSS
29
29
  * Uses [dart-sass](https://sass-lang.com/dart-sass) for SCSS/SASS bundling
30
- * CSS minification with Nanocss and Autoprefixer via [postcss](https://postcss.org/)
31
30
  * Bundles JS/TS to IIFE/ESM/CJS
32
- * Uses [esbuild](https://esbuild.github.io/) for ES bundling
33
- * Uses [terser](https://terser.org/) for JS minification and mangling
34
- * Can produce minified code simultaneously with non-minified code!
31
+ * Uses [esbuild](https://esbuild.github.io/) for bundling and trinspiling JS/TS to IIFE/ESM/CJS
32
+ * Optional JS and CSS minification using [esbuild](https://esbuild.github.io/)
33
+ * Can produce minified code simultaneously with non-minified code! (cause I always forget to minify my code for production)
34
+ * Supports source maps only for non minified - non production code (optional)
35
35
  * Supports multiple input and output paths
36
36
  * Resolves node modules
37
37
  * Can add a templatable banner to output files (optional)
38
- * Supports source maps (optional)
39
- * Supports minification (optional)
40
38
  * Static site generation with [nunjucks](https://mozilla.github.io/nunjucks/) templating (optional)
41
39
  * Has a configurable local server (optional)
42
40
  * Rebuilds on file changes (optional)
@@ -89,8 +87,7 @@ Just create a `poops.json` file in the root of your project and add the followin
89
87
  "minify": true,
90
88
  "justMinified": false,
91
89
  "format": "iife",
92
- "target": "es2019",
93
- "mangle": true
90
+ "target": "es2019"
94
91
  }
95
92
  }],
96
93
  "styles": [{
@@ -147,8 +144,7 @@ Scripts are bundled with [esbuild](https://esbuild.github.io/). You can specify
147
144
 
148
145
  **Options:**
149
146
  * `sourcemap` - whether to generate sourcemaps or not, sourcemaps are generated only for non-minified files since they are useful for debugging. Default is `false`. This is a direct esbuild option
150
- * `minify` - whether to minify the output or not, minification is performed by Terser and is only applied to non-minified files. Default is `false`
151
- * `mangle` - whether to mangle the output or not, mangling is performed by Terser and this is the only Terser option. Default is `false`
147
+ * `minify` - whether to minify the output or not, minification is performed by `esbuild` and is only applied to non-minified files. Default is `false`
152
148
  * `justMinified` - whether you want to have a minified file as output only. Removes the non-minified file from the output. Useful for production builds. Default is `false`
153
149
  * `format` - the output format, can be `iife` or `esm` or `cjs` - this is a direct esbuild option
154
150
  * `target` - the target for the output, can be `es2018` or `es2019` or `es2020` or `esnext` for instance - this is a direct esbuild option
@@ -167,8 +163,7 @@ Scripts are bundled with [esbuild](https://esbuild.github.io/). You can specify
167
163
  "minify": true,
168
164
  "justMinified": false,
169
165
  "format": "iife",
170
- "target": "es2019",
171
- "mangle": true
166
+ "target": "es2019"
172
167
  }
173
168
  },
174
169
  {
@@ -179,8 +174,7 @@ Scripts are bundled with [esbuild](https://esbuild.github.io/). You can specify
179
174
  "minify": true,
180
175
  "justMinified": false,
181
176
  "format": "iife",
182
- "target": "es2019",
183
- "mangle": true
177
+ "target": "es2019"
184
178
  }
185
179
  }
186
180
  ]
@@ -199,7 +193,7 @@ Styles are bundled with [Dart Sass](https://sass-lang.com/dart-sass). You can sp
199
193
 
200
194
  **Options:**
201
195
  * `sourcemap` - whether to generate sourcemaps or not, sourcemaps are generated only for non-minified files since they are useful for debugging. Default is `false`
202
- * `minify` - whether to minify the output or not, minification is performed by `cssnano` and is only applied to non-minified files. At the minification step, `autoprefixer` is also applied. Default is `false`
196
+ * `minify` - whether to minify the output or not, minification is performed by `esbuild`. Default is `false`
203
197
  * `justMinified` - whether you want to have a minified file as output only. Removes the non-minified file from the output. Useful for production builds. Defaults to `false`.
204
198
 
205
199
  `styles` property can accept an array of style configurations or just a single style configuration. If you want to bundle multiple styles, just add them to the `styles` array:
@@ -379,7 +373,7 @@ Same as `watch` property, `includePaths` accepts an array of paths to include. I
379
373
  * [ ] Run esbuild for each input path individually if there are multiple input paths
380
374
  * [ ] Styles `in` should be able to support array of inputs like we have it on scripts
381
375
  * [ ] Build a cli config creation helper tool. If the user doesn't have a config file, we can ask them a few questions and create a config file for them.
382
- * [ ] Support for LESS styles... I guess...
376
+ * [ ] Support for LESS styles... I guess... And Stylus... I guess...
383
377
  * [x] Add nunjucks static templating
384
378
  * [ ] Refactor nunjucks implementation
385
379
  * [ ] Complete documentation for nunjucks
@@ -1,4 +1,4 @@
1
- /* poops v1.0.13 | https://github.com/stamat/poops | MIT License */
1
+ /* poops v1.0.15 | https://github.com/stamat/poops | MIT License */
2
2
  @charset "UTF-8";
3
3
  /*! Sulphuris 🜍 1.0.4 */
4
4
  .border, .border-y, .border-x, .border-r, .border-l, .border-b, .border-t {