@latest-thinking/lt-player 2.0.0-q → 3.0.0-beta.2

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/tsconfig.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "./dist/",
4
- "sourceMap": true,
5
- "noImplicitAny": true,
6
- "module": "es6",
7
- "target": "es5",
8
- "jsx": "react",
9
- "allowJs": true,
10
- "moduleResolution": "node",
11
- "resolveJsonModule": true,
12
- "esModuleInterop": true,
13
- "strictNullChecks": true,
14
- "lib": [
15
- "dom",
16
- "es5",
17
- "scripthost",
18
- "webworker"
19
- ],
20
- "typeRoots": ["./node_modules/@types", "./src/types"],
21
- "allowSyntheticDefaultImports": true
22
- },
23
- "include": [
24
- "src/**/*",
25
- ]
26
- }
@@ -1,35 +0,0 @@
1
- import {defineConfig} from 'vite'
2
- import {resolve} from 'path';
3
- // @ts-ignore
4
- import handlebars from 'vite-plugin-handlebars';
5
-
6
- export default defineConfig({
7
- plugins: [handlebars({
8
- partialDirectory: resolve(__dirname, 'templates'),
9
- })],
10
- publicDir: "public/",
11
- css: {},
12
- build: {
13
- manifest: true,
14
- minify: true,
15
- reportCompressedSize: true,
16
- lib: {
17
- entry: resolve(__dirname, 'src/main.ts'),
18
- name: "LT Player",
19
- fileName: "main",
20
- formats: ["es"]
21
- },
22
- rollupOptions: {
23
- output: {
24
- inlineDynamicImports: false,
25
- entryFileNames: 'main.js',
26
- manualChunks: () => 'main.mjs',
27
- // Specify the file format to be .mjs
28
- format: 'es',
29
- // Since we're combining everything into one file,
30
- // we don't need separate asset files.
31
- assetFileNames: '[name].[ext]'
32
- }
33
- }
34
- }
35
- })
package/vite.config.mts DELETED
@@ -1,40 +0,0 @@
1
- import {defineConfig} from 'vite'
2
- import {resolve} from 'path';
3
- // @ts-ignore
4
- import handlebars from 'vite-plugin-handlebars';
5
-
6
- export default defineConfig({
7
- plugins: [handlebars({
8
- partialDirectory: resolve(__dirname, 'templates'),
9
- })],
10
- publicDir: false,
11
- css: {},
12
- build: {
13
- manifest: false,
14
- minify: true,
15
- reportCompressedSize: true,
16
- lib: {
17
- entry: resolve(__dirname, 'src/main.ts'),
18
- name: "LT Player",
19
- fileName: "main",
20
- formats: ["es"]
21
- },
22
- rollupOptions: {
23
- external: ['vidstack', 'handlebars'],
24
- output: {
25
- globals: {
26
- "vidstack": "vidstack",
27
- "handlebars": "Handlebars"
28
- },
29
- inlineDynamicImports: false,
30
- entryFileNames: 'main.js',
31
- manualChunks: () => 'main.mjs',
32
- // Specify the file format to be .mjs
33
- format: 'es',
34
- // Since we're combining everything into one file,
35
- // we don't need separate asset files.
36
- assetFileNames: '[name].[ext]'
37
- }
38
- }
39
- }
40
- })