1
0
Эх сурвалжийг харах

:bug: fix import error in ssr

LittleC 4 жил өмнө
parent
commit
ced52ff602
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      webpack.config.js

+ 1 - 0
webpack.config.js

@@ -119,6 +119,7 @@ module.exports = [
       libraryTarget: 'umd',
       library: 'Vditor',
       libraryExport: 'default',
+	  globalObject: 'this',
     },
     entry: {
       'index.min': './src/index.ts',