Skip to content

Commit

Permalink
Trying without esm
Browse files Browse the repository at this point in the history
  • Loading branch information
jcputney committed Oct 24, 2024
1 parent 0d70e22 commit f590026
Show file tree
Hide file tree
Showing 17 changed files with 15 additions and 19,897 deletions.
4,587 changes: 0 additions & 4,587 deletions dist/esm/aicc.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/aicc.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/esm/aicc.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/aicc.min.js.map

This file was deleted.

6,975 changes: 0 additions & 6,975 deletions dist/esm/scorm-again.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/scorm-again.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/esm/scorm-again.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/scorm-again.min.js.map

This file was deleted.

3,655 changes: 0 additions & 3,655 deletions dist/esm/scorm12.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/scorm12.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/esm/scorm12.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/scorm12.min.js.map

This file was deleted.

4,649 changes: 0 additions & 4,649 deletions dist/esm/scorm2004.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/scorm2004.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/esm/scorm2004.min.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/scorm2004.min.js.map

This file was deleted.

30 changes: 15 additions & 15 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@ const cjsConfig = {
},
};

const esmConfig = {
...commonConfig,
experiments: {
outputModule: true,
},
output: {
path: path.resolve(__dirname, "dist/esm"),
filename: "[name].js",
libraryTarget: "module",
environment: {
arrowFunction: false,
},
},
};
// const esmConfig = {
// ...commonConfig,
// experiments: {
// outputModule: true,
// },
// output: {
// path: path.resolve(__dirname, "dist/esm"),
// filename: "[name].js",
// libraryTarget: "module",
// environment: {
// arrowFunction: false,
// },
// },
// };

export default [cjsConfig, esmConfig];
export default [cjsConfig];

0 comments on commit f590026

Please sign in to comment.