alphavalid-sdk 0.0.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/.gitattributes +2 -0
- package/README.md +2 -0
- package/dist/alphavalid.es.js +0 -0
- package/dist/alphavalid.umd.js +1 -0
- package/package.json +10 -0
- package/src/index.ts +0 -0
- package/vite.config.ts +17 -0
package/.gitattributes
ADDED
package/README.md
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e){typeof define==`function`&&define.amd?define([],e):e()})(function(){});
|
package/package.json
ADDED
package/src/index.ts
ADDED
|
File without changes
|
package/vite.config.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineConfig } from 'vite';
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
// Force Vite to treat this project as a library build (no index.html)
|
|
5
|
+
appType: 'custom',
|
|
6
|
+
publicDir: false,
|
|
7
|
+
build: {
|
|
8
|
+
copyPublicDir: false,
|
|
9
|
+
emptyOutDir: true,
|
|
10
|
+
lib: {
|
|
11
|
+
entry: 'src/index.ts',
|
|
12
|
+
name: 'AlphaValid',
|
|
13
|
+
formats: ['es', 'umd'],
|
|
14
|
+
fileName: (format) => `alphavalid.${format}.js`
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|