瀏覽代碼

fix(js-cli) safeTap call

Lucas 5 年之前
父節點
當前提交
b0e43f2e85
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cli/tauri.js/webpack/index.js

+ 1 - 1
cli/tauri.js/webpack/index.js

@@ -56,7 +56,7 @@ module.exports.chain = function (chain) {
 
       chain.module.rule('babel')
         .use('babel-loader')
-        .tap(options => safeTap(() => {
+        .tap(options => safeTap(options, () => {
           options.plugins.push([
             'system-import-transformer', { // needs constant attention
               modules: 'common'