@m2c2kit/build-helpers 0.3.2 → 0.3.4

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/dist/index.d.ts CHANGED
@@ -18,13 +18,14 @@ import { InputOptions } from 'rollup';
18
18
  * finding the asset urls in the AST assumes that there will be no
19
19
  * user code with the same structure as the asset urls. In other words:
20
20
  * Don't use a define a property named "canvasKitWasmUrl" that refers to
21
- * a string literal, don't define a property named "fontUrls" that refers
22
- * to an array expression of string literals, and don't define a property
23
- * called "images" that refers to an array expression of object expressions
24
- * with properties named "imageName", "height", "width", and "url". Otherwise,
25
- * this plugin may alter your code in unexpected ways (although most likely
26
- * it will simply give warnings, because it's unlikely there will be valid
27
- * file assets that will be found and hashed).
21
+ * a string literal, don't define a property named "fonts" that that refers
22
+ * to an array expression of object expressions with properties named
23
+ * "fontName" and "url", and don't define a property called "images" that
24
+ * refers to an array expression of object expressions with properties named
25
+ * "imageName", "height", "width", and "url". Otherwise, this plugin may alter
26
+ * your code in unexpected ways (although most likely it will simply give
27
+ * warnings, because it's unlikely there will be valid file assets that will
28
+ * be found and hashed).
28
29
  *
29
30
  * @param rootDir - root directory of build, usually "dist" because you
30
31
  * usually hash only production builds