瀏覽代碼

fixed webpack.conf

Skylsmoi 7 年之前
父節點
當前提交
ff9b30215b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      webpack.config.js

+ 1 - 1
webpack.config.js 查看文件

@@ -10,7 +10,7 @@ module.exports = {
10 10
     path: path.resolve(__dirname, 'dist'),
11 11
     filename: isProduction ? 'pageHtml.plugin.js' : 'pageHtml.plugin.dev.js',
12 12
     pathinfo: !isProduction,
13
-    library: isProduction ? 'tracim_lib' : undefined,
13
+    library: isProduction ? 'tracim_plugin_pagehtml' : undefined,
14 14
     libraryTarget: isProduction ? 'umd' : undefined,
15 15
     umdNamedDefine: isProduction
16 16
   },