reorganization to support SSR for component library in docusaurus
This commit is contained in:
1 parent
31e3e03490
commit
97805df68c
35 files changed
+1240
-304
No files matched your search
@@ -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',
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user