reorganization to support SSR for component library in docusaurus

This commit is contained in:
Erik Ziegler committed 2021-07-14 15:26:06 +02:00
1 parent 31e3e03490
commit 97805df68c
35 files changed
+1240 -304

No files matched your search

+10
View File
@@ -33,5 +33,15 @@ module.exports = (env, argv) => {
libraryTarget: 'umd',
filename: pkg.main,
},
externals: [
{
'cornerstone-math': {
commonjs: 'cornerstone-math',
commonjs2: 'cornerstone-math',
amd: 'cornerstone-math',
root: 'cornerstoneMath',
},
},
],
});
};