@biuxiu/codegen 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -166,7 +166,7 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
166
166
  throw new Error(getStringFromWasm0(arg0, arg1));
167
167
  };
168
168
 
169
- const path = require('path').join(__dirname, 'lua_codegen_bg.wasm');
169
+ const path = require('./lua_codegen_bg.wasm');
170
170
  const bytes = require('fs').readFileSync(path);
171
171
 
172
172
  const wasmModule = new WebAssembly.Module(bytes);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biuxiu/codegen",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "代码生成工具",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {