@m2c2kit/build-helpers 0.3.3 → 0.3.5
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 +8 -7
- package/dist/index.js +698 -363
- package/package.json +6 -6
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 "
|
|
22
|
-
* to an array expression of
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
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
|