Skip to content

Commit

Permalink
Still trying to fix modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jcputney committed Oct 23, 2024
1 parent 1b4d52c commit 17de03c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 0 additions & 5 deletions index.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "scorm-again",
"version": "2.3.0",
"version": "2.4.0",
"description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
"main": "index.d.ts",
"main": "dist/index.min.js",
"type": "module",
"browser": {
"electron": false
Expand Down
5 changes: 5 additions & 0 deletions src/exports/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Scorm2004API from "../Scorm2004API.ts";
import Scorm12API from "../Scorm12API.ts";
import AICC from "../AICC.ts";

export { Scorm12API, Scorm2004API, AICC };
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ export default {
scorm12: "./src/exports/scorm12.js",
scorm2004: "./src/exports/scorm2004.js",
"scorm-again": "./src/exports/scorm-again.js",
index: "./src/exports/index.js",
"aicc.min": "./src/exports/aicc.js",
"scorm12.min": "./src/exports/scorm12.js",
"scorm2004.min": "./src/exports/scorm2004.js",
"scorm-again.min": "./src/exports/scorm-again.js",
"index.min": "./src/exports/index.js",
},
target: ["web", "es5"],
module: {
Expand Down

0 comments on commit 17de03c

Please sign in to comment.