@astryxdesign/build 0.1.2 → 0.1.3
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/vite.d.ts +2 -3
- package/dist/vite.mjs +4 -1
- package/package.json +1 -1
- package/src/vite.ts +6 -4
package/dist/vite.d.ts
CHANGED
|
@@ -61,9 +61,8 @@ export interface AstryxVitePluginOptions {
|
|
|
61
61
|
* build uses a distinct prefix so library and product atoms never collide
|
|
62
62
|
* across layers.
|
|
63
63
|
*
|
|
64
|
-
* Configurable
|
|
65
|
-
*
|
|
66
|
-
* Defaults to `xds` so existing consumers are unaffected.
|
|
64
|
+
* Configurable if a consumer needs a custom library atom prefix.
|
|
65
|
+
* Defaults to `astryx`.
|
|
67
66
|
*
|
|
68
67
|
* @default 'astryx'
|
|
69
68
|
*/
|
package/dist/vite.mjs
CHANGED
|
@@ -96,7 +96,10 @@ function astryxStylex(options = {}) {
|
|
|
96
96
|
rootDir,
|
|
97
97
|
"node_modules/@astryxdesign/core/src/theme/tokens.stylex.ts"
|
|
98
98
|
),
|
|
99
|
-
"@astryxdesign/core": path.resolve(
|
|
99
|
+
"@astryxdesign/core": path.resolve(
|
|
100
|
+
rootDir,
|
|
101
|
+
"node_modules/@astryxdesign/core/src"
|
|
102
|
+
)
|
|
100
103
|
}
|
|
101
104
|
},
|
|
102
105
|
optimizeDeps: {
|
package/package.json
CHANGED
package/src/vite.ts
CHANGED
|
@@ -79,9 +79,8 @@ export interface AstryxVitePluginOptions {
|
|
|
79
79
|
* build uses a distinct prefix so library and product atoms never collide
|
|
80
80
|
* across layers.
|
|
81
81
|
*
|
|
82
|
-
* Configurable
|
|
83
|
-
*
|
|
84
|
-
* Defaults to `xds` so existing consumers are unaffected.
|
|
82
|
+
* Configurable if a consumer needs a custom library atom prefix.
|
|
83
|
+
* Defaults to `astryx`.
|
|
85
84
|
*
|
|
86
85
|
* @default 'astryx'
|
|
87
86
|
*/
|
|
@@ -209,7 +208,10 @@ export function astryxStylex(
|
|
|
209
208
|
rootDir,
|
|
210
209
|
'node_modules/@astryxdesign/core/src/theme/tokens.stylex.ts',
|
|
211
210
|
),
|
|
212
|
-
'@astryxdesign/core': path.resolve(
|
|
211
|
+
'@astryxdesign/core': path.resolve(
|
|
212
|
+
rootDir,
|
|
213
|
+
'node_modules/@astryxdesign/core/src',
|
|
214
|
+
),
|
|
213
215
|
},
|
|
214
216
|
},
|
|
215
217
|
optimizeDeps: {
|